Don't bother printing None plugboards in save-to-disk

This commit is contained in:
Charles Haley 2010-10-05 12:22:21 +01:00
parent effa69add2
commit a6a0de8ff4

View File

@ -269,6 +269,7 @@ def save_book_to_disk(id, db, root, opts, length):
else:
cpb = None
# Leave this here for a while, in case problems arise.
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: