Toggle to allow DXpeditions to be displayed even if they exceed max_duration. Closes #17

This commit is contained in:
Ian Renton
2025-10-09 17:29:21 +01:00
parent b27d0f826c
commit 791a3a0dc4
9 changed files with 36 additions and 14 deletions

View File

@@ -30,7 +30,8 @@ class SOTA(HTTPAlertProvider):
sig_refs_names=[source_alert["summitDetails"]],
icon="mountain-sun",
start_time=datetime.strptime(source_alert["dateActivated"],
"%Y-%m-%dT%H:%M:%SZ").replace(tzinfo=pytz.UTC).timestamp())
"%Y-%m-%dT%H:%M:%SZ").replace(tzinfo=pytz.UTC).timestamp(),
is_dxpedition=False)
# Add to our list
new_alerts.append(alert)