Fixed false dupe detection when added county IDs to tailmsg

pull/140/head
Mason10198 2 years ago
parent b74129ed1a
commit 16b4e94d86

@ -1000,11 +1000,11 @@ def build_tailmessage(alerts):
) )
) )
added_counties = set()
for ( for (
alert, alert,
counties, counties,
) in alerts.items(): # Now we loop over both alert name and its associated counties ) in alerts.items(): # Now we loop over both alert name and its associated counties
added_counties = set()
if any( if any(
fnmatch.fnmatch(alert, blocked_event) fnmatch.fnmatch(alert, blocked_event)
for blocked_event in TAILMESSAGE_BLOCKED_EVENTS for blocked_event in TAILMESSAGE_BLOCKED_EVENTS

Loading…
Cancel
Save

Powered by TurnKey Linux.