Fix a potential NPE and a case where callsign location source could be reported as None instead of DXCC.

This commit is contained in:
Ian Renton
2026-09-11 07:32:15 +01:00
parent 3b575de36a
commit 64bb8ef3eb
12 changed files with 21 additions and 23 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ class Callsign:
# ITU zone in which the callsign indicates they are operating
itu_zone: int | None = None
# Location source
location_source: LocationSourceForCallsign = LocationSourceForCallsign.NONE
location_source: LocationSourceForCallsign | None = None
def fully_populated(self):
"""Utility method to indicate that the callsign data is fully populated. Multiple providers can return data for