mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
Avoid unnecessary tracebacks when backing up metadata for deleted books
This commit is contained in:
parent
49eb89a59a
commit
20f414a7f5
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user