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