Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dseomn committed Nov 10, 2023
1 parent 203bfaf commit 5ce0c7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rock_paper_sand/wikidata_value.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def parse_snak_item(snak: Snak) -> ItemRef:
or snak["datavalue"]["type"] != "wikibase-entityid"
or snak["datavalue"]["value"]["entity-type"] != "item"
):
raise ValueError(f"Cannot parse non-item snak as a item: {snak}")
raise ValueError(f"Cannot parse non-item snak as an item: {snak}")
return ItemRef(snak["datavalue"]["value"]["id"])


Expand Down

0 comments on commit 5ce0c7c

Please sign in to comment.