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