Only strip query title

This commit is contained in:
Marty Oehme 2023-02-23 19:32:32 +01:00
parent b161413f13
commit 94744fb55f
Signed by: Marty
GPG Key ID: EDBF2ED917B2EF6A
1 changed files with 1 additions and 2 deletions

View File

@ -42,8 +42,7 @@ def get_all_annotations(db, csv) -> Dict:
for row in csv:
# switch to next book
if not is_same_book(row["Title"]):
title_stripped = strip_string(row["Title"])
doc = get_document(db, row["Author"], title_stripped)
doc = get_document(db, row["Author"], row["Title"])
if not doc:
continue
note_file = get_notefile(db, doc)