From df684a601df004ca8e3c5281322a7247ef41e67d Mon Sep 17 00:00:00 2001 From: Ian Renton Date: Mon, 31 Aug 2026 09:00:23 +0100 Subject: [PATCH] Fix an exception on shutdown --- core/data_store.py | 2 +- templates/add_spot.html | 2 +- templates/alerts.html | 2 +- templates/bands.html | 4 ++-- templates/base.html | 10 +++++----- templates/conditions.html | 2 +- templates/map.html | 4 ++-- templates/spots.html | 4 ++-- templates/status.html | 2 +- 9 files changed, 16 insertions(+), 16 deletions(-) diff --git a/core/data_store.py b/core/data_store.py index ea8aa3e..b717978 100644 --- a/core/data_store.py +++ b/core/data_store.py @@ -112,7 +112,7 @@ class DataStore: def close(self): self.spots.close() self.alerts.close() - self.solar.close() + self.solar_conditions.close() self.status.close() self.dxcc_data.close() self.sigrefs.close() diff --git a/templates/add_spot.html b/templates/add_spot.html index a75f99f..fe9a22d 100644 --- a/templates/add_spot.html +++ b/templates/add_spot.html @@ -76,7 +76,7 @@ - + diff --git a/templates/alerts.html b/templates/alerts.html index 8ffc3c1..5febae1 100644 --- a/templates/alerts.html +++ b/templates/alerts.html @@ -84,7 +84,7 @@ - + diff --git a/templates/bands.html b/templates/bands.html index ce73c5a..8c5a92e 100644 --- a/templates/bands.html +++ b/templates/bands.html @@ -76,8 +76,8 @@ - - + + diff --git a/templates/base.html b/templates/base.html index 795dbbf..9171716 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,6 +1,6 @@ {% extends "skeleton.html" %} {% block head_extra %} - + @@ -15,10 +15,10 @@ window.fetchEventSource = fetchEventSource; - - - - + + + + {% end %} {% block body %}
diff --git a/templates/conditions.html b/templates/conditions.html index f277ff1..e7afb7b 100644 --- a/templates/conditions.html +++ b/templates/conditions.html @@ -284,7 +284,7 @@
- + diff --git a/templates/map.html b/templates/map.html index 1267de8..ce28770 100644 --- a/templates/map.html +++ b/templates/map.html @@ -113,8 +113,8 @@ const CARTODB_API_KEY = "{{ web_ui_options.get('cartodb_api_key', '') }}"; - - + + diff --git a/templates/spots.html b/templates/spots.html index 9d3be11..e8ed6ce 100644 --- a/templates/spots.html +++ b/templates/spots.html @@ -113,8 +113,8 @@ - - + + diff --git a/templates/status.html b/templates/status.html index f91fd23..d83b0f7 100644 --- a/templates/status.html +++ b/templates/status.html @@ -86,7 +86,7 @@ - +