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:
@@ -29,7 +29,7 @@ class SOTA(FileDownloadSIGRefDataProvider):
|
||||
ref = SIGRef(
|
||||
sig=self.SIG,
|
||||
id=ref_id,
|
||||
name=row["SummitName"] if "SummitName" in row else None,
|
||||
name=row.get("SummitName", None),
|
||||
ref_type="Summit",
|
||||
url=f"https://www.sotadata.org.uk/en/summit/{ref_id}",
|
||||
latitude=latitude,
|
||||
|
||||
Reference in New Issue
Block a user