Take SSIDs into account in the dedupe spots function #68

This commit is contained in:
Ian Renton
2025-10-30 10:51:56 +00:00
parent 8ec3a67cf5
commit 6ce66fdb62
2 changed files with 9 additions and 7 deletions

View File

@@ -37,10 +37,10 @@ class APRSIS(SpotProvider):
def handle(self, data):
# Split SSID in "from" call and store separately
from_parts = data["from"].split("-")
from_parts = data["from"].split("-").upper()
dx_call = from_parts[0]
dx_ssid = from_parts[1] if len(from_parts) > 1 else None
via_parts = data["via"].split("-")
via_parts = data["via"].split("-").upper()
de_call = via_parts[0]
de_ssid = via_parts[1] if len(via_parts) > 1 else None
spot = Spot(source="APRS-IS",