mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
Fix metadata plugboards not applied when auto sending news by email
This commit is contained in:
parent
245accd3ac
commit
bfc4a2a0fe
@ -285,7 +285,10 @@ class EmailMixin(object): # {{{
|
||||
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…
x
Reference in New Issue
Block a user