1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-10-17 00:27:39 +00:00
This commit is contained in:
Ozzieisaacs
2020-10-03 21:43:48 +02:00
parent 0d64692c84
commit 23d66a0d68
3 changed files with 6 additions and 9 deletions

View File

@@ -102,7 +102,7 @@ def convert_book_format(book_id, calibrepath, old_book_format, new_book_format,
txt = (u"%s -> %s: %s" % (old_book_format, new_book_format, book.title))
settings['old_book_format'] = old_book_format
settings['new_book_format'] = new_book_format
WorkerThread.add(user_id, TaskConvert(file_path, book.id, txt, settings, kindle_mail))
WorkerThread.add(user_id, TaskConvert(file_path, book.id, txt, settings, kindle_mail, user_id))
return None
else:
error_message = _(u"%(format)s not found: %(fn)s",