Improve error handling and PWA manifest

This commit is contained in:
Ian Renton
2026-09-04 17:50:35 +01:00
parent d7202f208c
commit ab86bdc4d6
16 changed files with 33 additions and 26 deletions
+2 -2
View File
@@ -184,7 +184,7 @@ class Spot:
dx_call_info = get_call_info(self.dx_call, credentials)
if self.dx_call and not self.dx_country:
self.dx_country = dx_call_info.country
if self.dx_call and not self.dx_continent:
if self.dx_call and dx_call_info.continent and not self.dx_continent:
self.dx_continent = Continent(dx_call_info.continent)
if self.dx_call and not self.dx_dxcc_id:
self.dx_dxcc_id = dx_call_info.dxcc_id
@@ -222,7 +222,7 @@ class Spot:
):
if not self.de_country:
self.de_country = de_call_info.country
if not self.de_continent:
if de_call_info.continent and not self.de_continent:
self.de_continent = Continent(de_call_info.continent)
if not self.de_dxcc_id:
self.de_dxcc_id = de_call_info.dxcc_id