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

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)