mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-23 13:54:26 +01:00
Fix a regression that broke application of plugboards when sending by email
This commit is contained in:
parent
0b386c3cc7
commit
0e09b58efb
1 changed files with 1 additions and 1 deletions
|
|
@ -660,7 +660,7 @@ def get_preferred_formats_from_ids(self, ids, formats,
|
|||
cover_as_data=True)
|
||||
newmi = None
|
||||
if use_plugboard and format.lower() in plugboard_formats:
|
||||
plugboards = self.new_api.pref('plugboards', {})
|
||||
plugboards = self.db.new_api.pref('plugboards', {})
|
||||
cpb = find_plugboard(use_plugboard, format.lower(),
|
||||
plugboards)
|
||||
if cpb:
|
||||
|
|
|
|||
Loading…
Reference in a new issue