mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-05-06 13:32:15 +02:00
ignoreListFema
This commit is contained in:
@@ -532,7 +532,7 @@ def getIpawsAlert(lat=0, lon=0, shortAlerts = False):
|
||||
# check if the alert is for the current location, if wanted keep alert
|
||||
if (sameVal in mySAME) or (geocode_value in mySAME):
|
||||
# ignore the FEMA test alerts
|
||||
if ignoreFEMAword:
|
||||
if ignoreFEMAenable:
|
||||
for word in ignoreFEMAwords:
|
||||
if word.lower() in headline.lower():
|
||||
logger.debug(f"System: Ignoring FEMA Alert: {headline} containing {word} at {areaDesc}")
|
||||
|
||||
Reference in New Issue
Block a user