mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-28 13:14:47 +01:00
Ignore the metadata.db prefs backup file during Check Library
This commit is contained in:
parent
73d8d1bcb0
commit
e2109dbe9e
1 changed files with 2 additions and 1 deletions
|
|
@ -93,7 +93,8 @@ def scan_library(self, name_ignores, extension_ignores):
|
|||
|
||||
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…
Reference in a new issue