Minor fixes

This commit is contained in:
Ian Renton
2025-10-05 08:21:44 +01:00
parent bf22998cd9
commit 3bea7245f7
2 changed files with 8 additions and 9 deletions

View File

@@ -126,7 +126,7 @@ class Spot:
self.dx_itu_zone = infer_itu_zone_from_callsign(self.dx_call)
if self.dx_call and not self.dx_dxcc_id:
self.dx_dxcc_id = infer_dxcc_id_from_callsign(self.dx_call)
if self.dx_dxcc_id and not self.dx_flag:
if self.dx_dxcc_id and DXCC_FLAGS[self.dx_dxcc_id] and not self.dx_flag:
self.dx_flag = DXCC_FLAGS[self.dx_dxcc_id]
# Clean up spotter call if it has an SSID or -# from RBN