fixNINAalerts

This commit is contained in:
SpudGunMan
2025-01-12 13:45:26 -08:00
parent 93ed84fdee
commit e35c954e5d
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -10,6 +10,7 @@ import xml.dom.minidom
from modules.log import *
trap_list_location_eu = ("ukalert", "ukwx", "ukflood")
trap_list_location_de = ("dealert", "dewx", "deflood")
def get_govUK_alerts(shortAlerts=False):
try:
+4
View File
@@ -79,6 +79,10 @@ if location_enabled:
from modules.globalalert import * # from the spudgunman/meshing-around repo
trap_list = trap_list + trap_list_location_eu
#help_message = help_message + ", ukalert, ukwx, ukflood"
if enableDEalerts:
from modules.dealert import * # from the spudgunman/meshing-around repo
trap_list = trap_list + trap_list_location_de
#help_message = help_message + ", dealert, dewx, deflood"
# Open-Meteo Configuration for worldwide weather
if use_meteo_wxApi: