From 883a6902fa5b78b92dcd6c471a9aaca8d79be30b Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Thu, 28 Nov 2024 13:06:28 -0800 Subject: [PATCH] Update locationdata.py --- modules/locationdata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/locationdata.py b/modules/locationdata.py index ba4389f..e2197bd 100644 --- a/modules/locationdata.py +++ b/modules/locationdata.py @@ -379,7 +379,7 @@ def alertBrodcast(): global wxAlertCache currentAlert = getWeatherAlerts(latitudeValue, longitudeValue) - if currentAlert[0] == ERROR_FETCHING_DATA or currentAlert == NO_DATA_NOGPS or currentAlert == NO_ALERTS: + if currentAlert == ERROR_FETCHING_DATA or currentAlert == NO_DATA_NOGPS or currentAlert == NO_ALERTS: wxAlertCache = "" return False # broadcast the alerts send to wxBrodcastCh