mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Don't bother printing None plugboards in save-to-disk
This commit is contained in:
parent
effa69add2
commit
a6a0de8ff4
@ -269,7 +269,8 @@ def save_book_to_disk(id, db, root, opts, length):
|
||||
else:
|
||||
cpb = None
|
||||
# Leave this here for a while, in case problems arise.
|
||||
prints('Save-to-disk using plugboard:', fmt, cpb)
|
||||
if cpb is not None:
|
||||
prints('Save-to-disk using plugboard:', fmt, cpb)
|
||||
data = db.format(id, fmt, index_is_id=True)
|
||||
if data is None:
|
||||
continue
|
||||
|
Loading…
x
Reference in New Issue
Block a user