From 4042d60c57950b4e8e74f1649dd9b3e9921446db Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Thu, 9 Feb 2023 22:59:00 +0000 Subject: [PATCH] Fix matched formatting --- core/lib/rules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/lib/rules.py b/core/lib/rules.py index 89fe394..f1dab3d 100644 --- a/core/lib/rules.py +++ b/core/lib/rules.py @@ -218,7 +218,7 @@ class NotificationRuleData(object): def format_matched(self, messages): matched = {} for message in messages: - for field, value in self.data: + for field, value in self.parsed.items(): if field == "msg": # Allow partial matches for msg for msg in value: