mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-05-29 18:22:37 -04:00
...
This commit is contained in:
@@ -123,7 +123,10 @@ class Emailer(Thread): # {{{
|
||||
job.failed = failed
|
||||
job.exception = exc
|
||||
job.job_done()
|
||||
job.email_sent_callback(job)
|
||||
try:
|
||||
job.email_sent_callback(job)
|
||||
except:
|
||||
pass
|
||||
|
||||
def send_mails(self, jobnames, callback, attachments, to_s, subjects,
|
||||
texts, attachment_names):
|
||||
@@ -191,7 +194,6 @@ class Emailer(Thread): # {{{
|
||||
|
||||
# }}}
|
||||
|
||||
|
||||
class EmailMixin(object): # {{{
|
||||
|
||||
def __init__(self):
|
||||
|
||||
Reference in New Issue
Block a user