Fix
This commit is contained in:
parent
285e112232
commit
eacc441de6
|
@ -85,7 +85,7 @@ with jsonlines.open("annas_archive_es.jsonl") as reader:
|
|||
dump = dump.decode() + "\n"
|
||||
if not item["isbn13"]:
|
||||
additem(dump, index, "unregistered")
|
||||
elif item["isbn13"] not in isbn:
|
||||
elif item["isbn13"] and item["isbn13"] not in isbn:
|
||||
isbn.add(item["isbn13"])
|
||||
additem(dump, index, "registered")
|
||||
except Exception as err:
|
||||
|
|
Loading…
Reference in New Issue