Add /AM and /MM activities, fix up activities list in OpenAPI spec, few more About page tweaks. #147

This commit is contained in:
Ian Renton
2026-09-18 17:29:21 +01:00
parent 0ad0d25c70
commit 75905c5ef7
4 changed files with 34 additions and 4 deletions
+7
View File
@@ -384,6 +384,13 @@ class Spot:
if self.propagation_mode == "Earth-Moon-Earth" and not self.sig:
self.sig = "EME"
# Set activities based on the DX callsign suffix
if self.dx_call and not self.sig:
if self.dx_call.upper().endswith("/AM"):
self.sig = "/AM"
elif self.dx_call.upper().endswith("/MM"):
self.sig = "/MM"
# Parse "de_grid -> dx_grid" structures from the comment
if self.comment:
grid_mode_grid_match = re.search(