Skip to content

Commit

Permalink
refactor: provide correct datatype for field relevant pages
Browse files Browse the repository at this point in the history
"relevant pages" need to be a string
  • Loading branch information
babslgam committed Mar 27, 2024
1 parent 107e807 commit 9169755
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apis_ontology/scripts/import_zotero_collections.py
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ def create_entities(item, source):
subtitle = item_data.get("shortTitle", None)
abstract = item_data.get("abstractNote", None)
num_pages = item_data.get("numPages", None)
relevant_pages = item_data.get("pages", None)
relevant_pages = item_data.get("pages", "")
item_date = item_data.get("date", None)
place_of_publication = item_data.get("place", None)
publisher = item_data.get("publisher", None)
Expand Down

0 comments on commit 9169755

Please sign in to comment.