mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-11-05 08:22:34 +01:00
Update mesh_bot.py
This commit is contained in:
1 parent
9dd9d39df4
commit
5059990adb
1 file changed
+3
-2
+3
-2
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user