ruff format && ruff check --fix

This commit is contained in:
Ian Renton
2026-08-16 14:11:45 +01:00
parent 8e48287edf
commit 7220a0f58d
13 changed files with 106 additions and 85 deletions
+1 -3
View File
@@ -98,9 +98,7 @@ class UKPacketNet(HTTPSpotProvider):
# data, and we can use that to look these up.
for spot in new_spots:
if spot.dx_call in nodes:
spot.dx_grid = (
nodes[spot.dx_call]["location"].get("locator", None)
)
spot.dx_grid = nodes[spot.dx_call]["location"].get("locator", None)
spot.dx_latitude = nodes[spot.dx_call]["location"]["coords"]["lat"]
spot.dx_longitude = nodes[spot.dx_call]["location"]["coords"]["lon"]