mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
54f93e96b7
commit
75905f5e6e
@ -105,7 +105,10 @@ def sendmail(msg, from_, to, localhost=None, verbose=0, timeout=30,
|
|||||||
try:
|
try:
|
||||||
s.sendmail(from_, to, msg)
|
s.sendmail(from_, to, msg)
|
||||||
finally:
|
finally:
|
||||||
ret = s.quit()
|
try:
|
||||||
|
ret = s.quit()
|
||||||
|
except:
|
||||||
|
pass # Ignore so as to not hide original error
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
def option_parser():
|
def option_parser():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user