diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9475129..1d8313b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,7 +9,7 @@ repos: # Lint / autoformat: Python code - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: "v0.4.10" + rev: "v0.5.1" hooks: # Run the linter - id: ruff diff --git a/osm_rawdata/overture.py b/osm_rawdata/overture.py index 04981be..602965c 100755 --- a/osm_rawdata/overture.py +++ b/osm_rawdata/overture.py @@ -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"]