1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-24 18:47:23 +00:00

Fix reference issue

This commit is contained in:
blitzmann 2020-10-05 23:15:42 -04:00
parent 0480edce2a
commit 3fa4149bb0

View File

@ -53,7 +53,7 @@ class TaskConvert(CalibreTask):
def _convert_ebook_format(self):
error_message = None
local_session = db.CalibreDB()
local_session = db.CalibreDB().session
file_path = self.file_path
book_id = self.bookid
format_old_ext = u'.' + self.settings['old_book_format'].lower()