mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-03-15 20:34:31 +00:00
Support location lookup for LLOTA #97
This commit is contained in:
@@ -21,8 +21,8 @@ class LLOTA(HTTPSpotProvider):
|
||||
comment = None
|
||||
spotter = None
|
||||
if "history" in source_spot and len(source_spot["history"]) > 0:
|
||||
comment = source_spot["history"][0]["comment"]
|
||||
spotter = source_spot["history"][0]["spotter_callsign"]
|
||||
comment = source_spot["history"][-1]["comment"]
|
||||
spotter = source_spot["history"][-1]["spotter_callsign"]
|
||||
# Convert to our spot format
|
||||
spot = Spot(source=self.name,
|
||||
source_id=source_spot["id"],
|
||||
|
||||
Reference in New Issue
Block a user