Avoid unnecessary tracebacks when backing up metadata for deleted books

This commit is contained in:
Kovid Goyal 2013-08-01 09:10:40 +05:30
parent 49eb89a59a
commit 20f414a7f5

View File

@ -81,6 +81,7 @@ class MetadataBackup(Thread):
if mi is None: if mi is None:
self.db.clear_dirtied(book_id, sequence) self.db.clear_dirtied(book_id, sequence)
return
# Give the GUI thread a chance to do something. Python threads don't # Give the GUI thread a chance to do something. Python threads don't
# have priorities, so this thread would naturally keep the processor # have priorities, so this thread would naturally keep the processor