fix path
This commit is contained in:
parent
3d882425e4
commit
88f9f2d27e
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ def remove_missing(books=None):
|
||||||
if dirty:
|
if dirty:
|
||||||
state.db.session.commit()
|
state.db.session.commit()
|
||||||
dirty = False
|
dirty = False
|
||||||
nfd_books = {unicodedata.normalize('NFD', path) for path in nfd_books}
|
nfd_books = {unicodedata.normalize('NFD', path) for path in books}
|
||||||
removed = [
|
removed = [
|
||||||
path for path in db_paths
|
path for path in db_paths
|
||||||
if unicodedata.normalize('NFD', path) not in nfd_books
|
if unicodedata.normalize('NFD', path) not in nfd_books
|
||||||
|
|
Loading…
Reference in a new issue