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 WWBOTA(FileDownloadSIGRefDataProvider):
|
||||
SIGRef(
|
||||
sig=self.SIG,
|
||||
id=ref_id,
|
||||
name=row["Name"] if "Name" in row else None,
|
||||
name=row.get("Name", None),
|
||||
ref_type="Bunker",
|
||||
url=f"https://bunkerwiki.org/?s={ref_id}" if ref_id.startswith("B/G") else None,
|
||||
grid=row["Locator"] if "Locator" in row and row["Locator"] != "" else None,
|
||||
|
||||
Reference in New Issue
Block a user