mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-28 09:56:25 +01:00
Fix metadata plugboards not applied when auto sending news by email
This commit is contained in:
parent
245accd3ac
commit
bfc4a2a0fe
1 changed files with 4 additions and 1 deletions
|
|
@ -285,7 +285,10 @@ def email_news(self, id_):
|
|||
else []
|
||||
def get_fmts(fmts):
|
||||
files, auto = self.library_view.model().\
|
||||
get_preferred_formats_from_ids([id_], fmts)
|
||||
get_preferred_formats_from_ids([id_], fmts,
|
||||
set_metadata=True,
|
||||
use_plugboard=plugboard_email_value,
|
||||
plugboard_formats=plugboard_email_formats)
|
||||
return files
|
||||
sent_mails = email_news(mi, remove,
|
||||
get_fmts, self.email_sent, self.job_manager)
|
||||
|
|
|
|||
Loading…
Reference in a new issue