mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Fix a regression that broke application of plugboards when sending by email
This commit is contained in:
parent
0b386c3cc7
commit
0e09b58efb
@ -660,7 +660,7 @@ class BooksModel(QAbstractTableModel): # {{{
|
|||||||
cover_as_data=True)
|
cover_as_data=True)
|
||||||
newmi = None
|
newmi = None
|
||||||
if use_plugboard and format.lower() in plugboard_formats:
|
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(),
|
cpb = find_plugboard(use_plugboard, format.lower(),
|
||||||
plugboards)
|
plugboards)
|
||||||
if cpb:
|
if cpb:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user