Only strip query title
This commit is contained in:
parent
b161413f13
commit
94744fb55f
1 changed files with 1 additions and 2 deletions
|
@ -42,8 +42,7 @@ def get_all_annotations(db, csv) -> Dict:
|
||||||
for row in csv:
|
for row in csv:
|
||||||
# switch to next book
|
# switch to next book
|
||||||
if not is_same_book(row["Title"]):
|
if not is_same_book(row["Title"]):
|
||||||
title_stripped = strip_string(row["Title"])
|
doc = get_document(db, row["Author"], row["Title"])
|
||||||
doc = get_document(db, row["Author"], title_stripped)
|
|
||||||
if not doc:
|
if not doc:
|
||||||
continue
|
continue
|
||||||
note_file = get_notefile(db, doc)
|
note_file = get_notefile(db, doc)
|
||||||
|
|
Loading…
Reference in a new issue