From 4808ed1882c8158e9f107fd679330c209e66e8b1 Mon Sep 17 00:00:00 2001 From: Ian Renton Date: Tue, 11 Aug 2026 05:49:56 +0100 Subject: [PATCH] Fix another config-example.yml typo and switch some quotes for compatibility with python 3.11 #124 --- config-example.yml | 2 +- spotproviders/gma.py | 4 ++-- 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 +- 10 files changed, 18 insertions(+), 18 deletions(-) diff --git a/config-example.yml b/config-example.yml index 3a63665..517707e 100644 --- a/config-example.yml +++ b/config-example.yml @@ -93,7 +93,7 @@ spot-providers: allow_rbn_spots: false - class: "RBN" - - # RBN sources have a "name" property in case you want to differentiate between the CW/RTTY and FT8 sources. + # RBN sources have a "name" property in case you want to differentiate between the CW/RTTY and FT8 sources. name: "RBN CW/RTTY" enabled: false port: 7000 diff --git a/spotproviders/gma.py b/spotproviders/gma.py index 95352ae..9e85101 100644 --- a/spotproviders/gma.py +++ b/spotproviders/gma.py @@ -103,10 +103,10 @@ class GMA(HTTPSpotProvider): elif not ref_response.from_cache: if not ref_response.ok: logging.warning( - f"HTTP {ref_response.status_code} when looking up GMA ref {source_spot["REF"]}") + f"HTTP {ref_response.status_code} when looking up GMA ref {source_spot['REF']}") else: logging.warning( - f"GMA API returned a malformed response when looking up ref {source_spot["REF"]}") + f"GMA API returned a malformed response when looking up ref {source_spot['REF']}") except: logging.warning("Exception when looking up " + self.REF_INFO_URL_ROOT + source_spot[ "REF"] + ", ignoring this spot for now") diff --git a/templates/add_spot.html b/templates/add_spot.html index afa57ca..ba4a8a4 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 19a5963..9f0b39e 100644 --- a/templates/alerts.html +++ b/templates/alerts.html @@ -75,7 +75,7 @@ - + diff --git a/templates/bands.html b/templates/bands.html index 98b91bb..021b8b8 100644 --- a/templates/bands.html +++ b/templates/bands.html @@ -72,8 +72,8 @@ - - + + diff --git a/templates/base.html b/templates/base.html index 80062e9..dcc3553 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,6 +1,6 @@ {% extends "skeleton.html" %} {% block head_extra %} - + @@ -10,10 +10,10 @@ - - - - + + + + {% end %} {% block body %}
diff --git a/templates/conditions.html b/templates/conditions.html index 4a19c4d..a704777 100644 --- a/templates/conditions.html +++ b/templates/conditions.html @@ -284,7 +284,7 @@
- + diff --git a/templates/map.html b/templates/map.html index 4926c83..af55ca1 100644 --- a/templates/map.html +++ b/templates/map.html @@ -105,8 +105,8 @@ - - + + diff --git a/templates/spots.html b/templates/spots.html index e10f4fd..5eea279 100644 --- a/templates/spots.html +++ b/templates/spots.html @@ -113,8 +113,8 @@ - - + + diff --git a/templates/status.html b/templates/status.html index 2dd6217..5d0b7bc 100644 --- a/templates/status.html +++ b/templates/status.html @@ -59,7 +59,7 @@ - +