mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-08-03 07:23:22 +02:00
ohmyglob
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user