Skip to content

Commit

Permalink
handle claims with no value in the case-insensitive case
Browse files Browse the repository at this point in the history
  • Loading branch information
Hjfocs committed Aug 29, 2019
1 parent 24ceb23 commit 18e3d6a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions soweego/ingester/wikidata_bot.py
Expand Up @@ -516,6 +516,8 @@ def _handle_addition(
existing_values = [
claim_value.getTarget().lower()
for claim_value in given_predicate_claims
# Yes, it happens: a claim with no value
if claim_value.getTarget()
]
else:
existing_values = [
Expand Down

0 comments on commit 18e3d6a

Please sign in to comment.