diff --git a/dtable_events/notification_rules/notification_rules_utils.py b/dtable_events/notification_rules/notification_rules_utils.py index 2970272f..cb2bdd99 100644 --- a/dtable_events/notification_rules/notification_rules_utils.py +++ b/dtable_events/notification_rules/notification_rules_utils.py @@ -229,8 +229,8 @@ def protect_url(match): value = re.sub(r'^\s*>\s+', r'\\> ', value) # Initial citation # 3. restore mentions - for placeholder, value in protect_strs: - value = value.replace(placeholder, value) + for placeholder, place_value in protect_strs: + value = value.replace(placeholder, place_value) return value