Fix a bug where SIG API spots could be re-tagged as another SIG e.g. WAB if that was named in the comment.

This commit is contained in:
Ian Renton
2025-11-17 17:19:43 +00:00
parent e525aaed92
commit b132fe8a39
10 changed files with 21 additions and 2 deletions

View File

@@ -28,6 +28,7 @@ class WWFF(HTTPSpotProvider):
freq=float(source_spot["frequency_khz"]) * 1000,
mode=source_spot["mode"].upper(),
comment=source_spot["remarks"],
sig="WWFF",
sig_refs=[SIGRef(id=source_spot["reference"], sig="WWFF", name=source_spot["reference_name"])],
time=datetime.fromtimestamp(source_spot["spot_time"], tz=pytz.UTC).timestamp(),
dx_latitude=source_spot["latitude"],