mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2025-10-27 08:49:27 +00:00
Toggle to allow DXpeditions to be displayed even if they exceed max_duration. Closes #17
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user