Update mesh_bot.py

This commit is contained in:
SpudGunMan
2024-10-20 17:24:22 -07:00
parent 9dd9d39df4
commit 5059990adb

View File

@@ -213,8 +213,9 @@ def handle_wxalert(message_from_id, deviceID, message):
weatherAlert = getActiveWeatherAlertsDetail(str(location[0]), str(location[1]))
else:
weatherAlert = getWeatherAlerts(str(location[0]), str(location[1]))
weatherAlert = weatherAlert[0]
if NO_ALERTS not in weatherAlert:
weatherAlert = weatherAlert[0]
return weatherAlert
def handle_wiki(message, isDM):