tupleAlert!

https://github.com/SpudGunMan/meshing-around/issues/324

patching only the tuple unwrap so plain string responses stay intact.

thanks dude!

Co-Authored-By: wh6gxz nurse dude <shawnmfarley@gmail.com>
This commit is contained in:
Kelly
2026-07-06 17:06:08 -07:00
parent 488c92e656
commit d9edfdb807
+1 -1
View File
@@ -481,7 +481,7 @@ def handle_wxalert(message_from_id, deviceID, message):
else:
weatherAlert = getWeatherAlertsNOAA(str(location[0]), str(location[1]))
if my_settings.NO_ALERTS not in weatherAlert:
if isinstance(weatherAlert, tuple):
weatherAlert = weatherAlert[0]
return weatherAlert