From 16b4e94d869af0baca38f378f4ee173cee0f8c6e Mon Sep 17 00:00:00 2001 From: Mason10198 <31994327+Mason10198@users.noreply.github.com> Date: Sat, 6 Apr 2024 11:25:29 -0500 Subject: [PATCH] Fixed false dupe detection when added county IDs to tailmsg --- SkywarnPlus.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SkywarnPlus.py b/SkywarnPlus.py index d17de9a..deb059b 100644 --- a/SkywarnPlus.py +++ b/SkywarnPlus.py @@ -1000,11 +1000,11 @@ def build_tailmessage(alerts): ) ) - added_counties = set() for ( alert, counties, ) in alerts.items(): # Now we loop over both alert name and its associated counties + added_counties = set() if any( fnmatch.fnmatch(alert, blocked_event) for blocked_event in TAILMESSAGE_BLOCKED_EVENTS