diff --git a/data/spot.py b/data/spot.py index 4c1d3a1..c53da15 100644 --- a/data/spot.py +++ b/data/spot.py @@ -422,7 +422,7 @@ class Spot: now = datetime.now(pytz.UTC).timestamp() for alert in DATA_STORE.alerts.values(): if ( - alert.activities + hasattr(alert, "activities") # Reject any v2 alerts still in database and ActivityName.DXPEDITION in alert.activities and alert.dx_calls and alert.start_time diff --git a/templates/add-spot.html b/templates/add-spot.html index ba66730..164ea98 100644 --- a/templates/add-spot.html +++ b/templates/add-spot.html @@ -77,7 +77,7 @@ - + diff --git a/templates/alerts.html b/templates/alerts.html index f863e26..6a3c3b5 100644 --- a/templates/alerts.html +++ b/templates/alerts.html @@ -85,7 +85,7 @@ - + diff --git a/templates/bands.html b/templates/bands.html index ac26718..73e32bb 100644 --- a/templates/bands.html +++ b/templates/bands.html @@ -76,8 +76,8 @@ - - + + diff --git a/templates/base.html b/templates/base.html index 87ddedf..981ab99 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,6 +1,6 @@ {% extends "skeleton.html" %} {% block head_extra %} - + @@ -16,10 +16,10 @@ window.fetchEventSource = fetchEventSource; - - - - + + + + {% end %} {% block body %}