From ab420af63e1a8290dde1267db575ef4148024135 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Wed, 23 Apr 2025 09:24:51 -0700 Subject: [PATCH] Update system.py --- modules/system.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/system.py b/modules/system.py index 57fb855..cc5d621 100644 --- a/modules/system.py +++ b/modules/system.py @@ -804,7 +804,7 @@ def handleAlertBroadcast(deviceID=1): if volcanoAlertBroadcastEnabled: volcanoAlert = get_volcano_usgs(latitudeValue, longitudeValue) - if volcanoAlert and volcanoAlert != NO_ALERTS and volcanoAlert != ERROR_FETCHING_DATA: + if volcanoAlert and NO_ALERTS not in volcanoAlert and ERROR_FETCHING_DATA not in volcanoAlert: # check if the alert is different from the last one if volcanoAlert != priorVolcanoAlert: priorVolcanoAlert = volcanoAlert