This commit is contained in:
SpudGunMan
2024-08-21 21:45:12 -07:00
parent 95c266fbf3
commit 458957ddfb
+2 -2
View File
@@ -87,9 +87,9 @@ def handle_wxalert(message_from_id, deviceID, message):
location = get_node_location(message_from_id, deviceID)
if "wxalert" in message:
# Detailed weather alert
weatherAlert = getWeatherAlerts(str(location[0]), str(location[1]))
else:
weatherAlert = getActiveWeatherAlertsDetail(str(location[0]), str(location[1]))
else:
weatherAlert = getWeatherAlerts(str(location[0]), str(location[1]))
return weatherAlert