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

@@ -53,6 +53,7 @@ class HEMA(HTTPSpotProvider):
freq=float(freq_mode_match.group(1)) * 1000000,
mode=freq_mode_match.group(2).upper(),
comment=spotter_comment_match.group(2),
sig="HEMA",
sig_refs=[SIGRef(id=spot_items[3].upper(), sig="HEMA", name=spot_items[4])],
time=datetime.strptime(spot_items[0], "%d/%m/%Y %H:%M").replace(tzinfo=pytz.UTC).timestamp(),
dx_latitude=float(spot_items[7]),