Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 1, 2024
1 parent ff52a97 commit e71dda2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osm_rawdata/overture.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def parse(
if key == "sources" and type(value) == list:
if "dataset" in value[0]:
entry["source"] = value[0]["dataset"]
if "recordId" in valve[0] and ["recordId"] is not None:
if "recordId" in valve[0] and ["recordId"] != None:
entry["record"] = value[0]["recordId"]
if value[0]["confidence"] is not None:
entry["confidence"] = value[0]["confidence"]
Expand Down

0 comments on commit e71dda2

Please sign in to comment.