mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-09-20 14:27:42 +00:00
More ruff linter fixes
This commit is contained in:
@@ -25,7 +25,7 @@ class MOTA(FileDownloadSIGRefDataProvider):
|
||||
SIGRef(
|
||||
sig=self.SIG,
|
||||
id=ref_id,
|
||||
name=row["Name"] if "Name" in row else None,
|
||||
name=row.get("Name", None),
|
||||
ref_type="Mill",
|
||||
url=f"https://www.cqgma.org/zinfo.php?ref={ref_id}",
|
||||
latitude=float(row["Latitude"]) if "Latitude" in row and row["Latitude"] != "" else None,
|
||||
|
||||
Reference in New Issue
Block a user