mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 00:53:24 +02:00
Don't bother printing None plugboards in save-to-disk
This commit is contained in:
parent
effa69add2
commit
a6a0de8ff4
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Reference in a new issue