This commit is contained in:
j 2019-01-14 18:15:27 +05:30
parent 3d882425e4
commit 88f9f2d27e
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ def remove_missing(books=None):
if dirty:
state.db.session.commit()
dirty = False
nfd_books = {unicodedata.normalize('NFD', path) for path in nfd_books}
nfd_books = {unicodedata.normalize('NFD', path) for path in books}
removed = [
path for path in db_paths
if unicodedata.normalize('NFD', path) not in nfd_books