Skip to content

Commit

Permalink
version 0.9.10
Browse files Browse the repository at this point in the history
  • Loading branch information
andrawaag committed Aug 26, 2021
1 parent 0acb14c commit 5132340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wikidataintegrator/wdi_rdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def __init__(self, qid=None, json_data=None, fetch_provenance_rdf=True, fetch_me
if not bool(qid) and not bool(json_data):
raise ValueError('Please provide either a QID or a json object of a Wikidata item')

if bool(qid) and bool(data):
if bool(qid) and bool(json_data):
raise ValueError('Please provide only a QID or a JSON object of a Wikidata item, not both')

self.qid = qid
Expand Down

0 comments on commit 5132340

Please sign in to comment.