mirror of
https://github.com/janeczku/calibre-web
synced 2024-11-10 03:50:01 +00:00
minor formatting
This commit is contained in:
parent
24e9bf2728
commit
c974cd048e
@ -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?")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user