mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-21 20:34:29 +01:00
Fix sending multiple files by email causes them to be mixed up. Also Fix #5069 (No error when mail password is incorrect)
This commit is contained in:
parent
a5eeb6724d
commit
d0a546b3d6
1 changed files with 3 additions and 2 deletions
|
|
@ -558,7 +558,8 @@ def send_by_mail(self, to, fmts, delete_from_library, send_ids=None,
|
|||
specific_format=specific_format,
|
||||
exclude_auto=do_auto_convert)
|
||||
if do_auto_convert:
|
||||
ids = list(set(ids).difference(_auto_ids))
|
||||
nids = list(set(ids).difference(_auto_ids))
|
||||
ids = [i for i in ids if i in nids]
|
||||
else:
|
||||
_auto_ids = []
|
||||
|
||||
|
|
@ -653,7 +654,7 @@ def emails_sent(self, results, remove=[]):
|
|||
])
|
||||
error_dialog(self, _('Failed to email books'),
|
||||
_('Failed to email the following books:'),
|
||||
'%s'%errors
|
||||
'%s'%errors, show=True
|
||||
)
|
||||
else:
|
||||
self.status_bar.showMessage(_('Sent by email:') + ', '.join(good),
|
||||
|
|
|
|||
Loading…
Reference in a new issue