mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
ac8dc12785
commit
9f71cb35ce
@ -123,7 +123,10 @@ class Emailer(Thread): # {{{
|
|||||||
job.failed = failed
|
job.failed = failed
|
||||||
job.exception = exc
|
job.exception = exc
|
||||||
job.job_done()
|
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,
|
def send_mails(self, jobnames, callback, attachments, to_s, subjects,
|
||||||
texts, attachment_names):
|
texts, attachment_names):
|
||||||
@ -191,7 +194,6 @@ class Emailer(Thread): # {{{
|
|||||||
|
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
|
|
||||||
class EmailMixin(object): # {{{
|
class EmailMixin(object): # {{{
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user