Status API

This commit is contained in:
Ian Renton
2025-09-27 17:07:55 +01:00
parent 9d9687adbf
commit 624a5fe28a
4 changed files with 33 additions and 13 deletions

View File

@@ -30,7 +30,7 @@ class GMA(HTTPProvider):
spot = Spot(source=self.name(),
dx_call=source_spot["ACTIVATOR"].upper(),
de_call=source_spot["SPOTTER"].upper(),
freq=float(source_spot["QRG"]),
freq=float(source_spot["QRG"]) if (source_spot["QRG"] != "") else None, # Seen GMA spots with no frequency
mode=source_spot["MODE"].upper(),
comment=source_spot["TEXT"],
sig_refs=[source_spot["REF"]],