mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-09-20 22:37:44 +00:00
More ruff linter fixes
This commit is contained in:
@@ -25,9 +25,9 @@ class SIOTA(FileDownloadSIGRefDataProvider):
|
||||
SIGRef(
|
||||
sig=self.SIG,
|
||||
id=ref_id,
|
||||
name=row["NAME"] if "NAME" in row else None,
|
||||
name=row.get("NAME", None),
|
||||
ref_type="Silo",
|
||||
grid=row["LOCATOR"] if "LOCATOR" in row else None,
|
||||
grid=row.get("LOCATOR", None),
|
||||
latitude=float(row["LAT"]) if "LAT" in row else None,
|
||||
longitude=float(row["LNG"]) if "LNG" in row else None,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user