diff --git a/modules/globalalert.py b/modules/globalalert.py index 9589d48..862c31c 100644 --- a/modules/globalalert.py +++ b/modules/globalalert.py @@ -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: diff --git a/modules/system.py b/modules/system.py index b408af4..c872985 100644 --- a/modules/system.py +++ b/modules/system.py @@ -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: