mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix moving library not moving the full text search index
This commit is contained in:
parent
2d0816daa0
commit
20ff8a1de6
@ -2119,7 +2119,7 @@ class DB:
|
|||||||
def get_top_level_move_items(self, all_paths):
|
def get_top_level_move_items(self, all_paths):
|
||||||
items = set(os.listdir(self.library_path))
|
items = set(os.listdir(self.library_path))
|
||||||
paths = set(all_paths)
|
paths = set(all_paths)
|
||||||
paths.update({'metadata.db', 'metadata_db_prefs_backup.json'})
|
paths.update({'metadata.db', 'full-text-search.db', 'metadata_db_prefs_backup.json'})
|
||||||
path_map = {x:x for x in paths}
|
path_map = {x:x for x in paths}
|
||||||
if not self.is_case_sensitive:
|
if not self.is_case_sensitive:
|
||||||
for x in items:
|
for x in items:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user