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: