From 458957ddfbb68a2abed11b27685c58f8d1332b83 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Wed, 21 Aug 2024 21:45:12 -0700 Subject: [PATCH] ohmyglob --- mesh_bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mesh_bot.py b/mesh_bot.py index 3b3e3cc..aaa5f30 100755 --- a/mesh_bot.py +++ b/mesh_bot.py @@ -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