1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-12-26 01:50:31 +00:00

minor formatting

This commit is contained in:
gjutras 2022-08-02 19:51:31 -04:00
parent 24e9bf2728
commit c974cd048e

View File

@ -227,8 +227,8 @@ def send_mail(book_id, book_format, convert, ereader_mail, calibrepath, user_id)
for email in ereader_mail.split(','): for email in ereader_mail.split(','):
email = email.strip() email = email.strip()
WorkerThread.add(user_id, TaskEmail(_(u"Send to E-Reader"), book.path, converted_file_name, WorkerThread.add(user_id, TaskEmail(_(u"Send to E-Reader"), book.path, converted_file_name,
config.get_mail_settings(), email, email_text, config.get_mail_settings(), email,
_(u'This e-mail has been sent via Calibre-Web.'))) email_text, _(u'This e-mail has been sent via Calibre-Web.')))
return return
return _(u"The requested file could not be read. Maybe wrong permissions?") return _(u"The requested file could not be read. Maybe wrong permissions?")