~phill-ridout/openlp/fixes-I

« back to all changes in this revision

Viewing changes to openlp/plugins/bibles/lib/manager.py

  • Committer: Philip Ridout
  • Date: 2019-03-16 21:07:44 UTC
  • Revision ID: phill.ridout@gmail.com-20190316210744-u9tx7oh2aadjosmj
Fix deleting bibles

Show diffs side-by-side

added added

removed removed

Lines of Context:
187
187
        bible = self.db_cache[name]
188
188
        bible.session.close_all()
189
189
        bible.session = None
190
 
        return delete_file(Path(bible.path, bible.file))
 
190
        return delete_file(bible.path, bible.file_path)
191
191
 
192
192
    def get_bibles(self):
193
193
        """