Support PARC references #156

This commit is contained in:
Ian Renton
2026-09-27 17:44:28 +01:00
parent 11743b9953
commit 7ec1302404
13 changed files with 107 additions and 16 deletions
+11
View File
@@ -248,6 +248,17 @@ ACTIVITIES: dict[ActivityName, Activity] = {
comment_names=[],
icon="fa-square",
),
ActivityName.PARC: Activity(
name=ActivityName.PARC,
description="Protected Area Radio Community",
activity_type=ActivityType.ADVENTURE,
has_refs=True,
refs_globally_unique=True,
ref_type=ActivityRefType.PARK,
ref_regex=r"[A-Za-z]{2}-[A-Za-z]{2,3}-[0-9]{4}",
comment_names=["PARC"],
icon="fa-pagelines",
),
ActivityName.ZLOTA: Activity(
name=ActivityName.ZLOTA,
description="New Zealand on the Air",
+1 -1
View File
@@ -382,7 +382,7 @@ class Spot:
if mode_tag and not self.propagation_mode:
if mode_tag in PROPAGATION_MODES:
self.propagation_mode = PROPAGATION_MODES[mode_tag]
else:
elif mode_tag != "?":
self.propagation_mode = mode_tag
logger.info(f"Seen a new propagation mode tag not yet in the system: {mode_tag}")