From 2d4f81e662328b36ca83abc92343194170b779ce Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Thu, 6 Nov 2025 13:34:39 -0800 Subject: [PATCH] Revert "Update locationdata.py" This reverts commit ec9fbc9bd182fba76cc57dd7f71641269b03110b. --- modules/locationdata.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/modules/locationdata.py b/modules/locationdata.py index f712cb5..7d9fe70 100644 --- a/modules/locationdata.py +++ b/modules/locationdata.py @@ -647,13 +647,11 @@ def getIpawsAlert(lat=0, lon=0, shortAlerts = False): if (sameVal in my_settings.mySAMEList) or (geocode_value in my_settings.mySAMEList) or my_settings.mySAMEList == ['']: ignore_alert = False if my_settings.ignoreFEMAenable: - ignore_words = [word for word in my_settings.ignoreFEMAwords if word.strip()] ignore_alert = any( word.lower() in headline.lower() - for word in ignore_words - ) + for word in my_settings.ignoreFEMAwords) if ignore_alert: - logger.debug(f"System: Filtering FEMA Alert: {headline} containing one of {ignore_words} at {areaDesc}") + logger.debug(f"System: Filtering FEMA Alert by WORD: {headline} containing one of {my_settings.ignoreFEMAwords} at {areaDesc}") if ignore_alert: continue