mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Ignore the metadata.db prefs backup file during Check Library
This commit is contained in:
parent
73d8d1bcb0
commit
e2109dbe9e
@ -93,7 +93,8 @@ class CheckLibrary(object):
|
||||
|
||||
lib = self.src_library_path
|
||||
for auth_dir in os.listdir(lib):
|
||||
if self.ignore_name(auth_dir) or auth_dir == 'metadata.db':
|
||||
if self.ignore_name(auth_dir) or auth_dir in {'metadata.db',
|
||||
'metadata_db_prefs_backup.json'}:
|
||||
continue
|
||||
auth_path = os.path.join(lib, auth_dir)
|
||||
# First check: author must be a directory
|
||||
|
Loading…
x
Reference in New Issue
Block a user