From 81dc3781ab98eeb8b4571a8086ac6478e3762a79 Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Wed, 5 Feb 2025 11:48:46 +0200 Subject: [PATCH] add debug --- imap_filter/imap_filter.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/imap_filter/imap_filter.py b/imap_filter/imap_filter.py index 8016bf9..032a580 100644 --- a/imap_filter/imap_filter.py +++ b/imap_filter/imap_filter.py @@ -222,7 +222,10 @@ class ImapFilter: search ) new_content = re.sub(search, replacement, content) - # new_content = content.replace(search, replacement) + self._log.debug( + "New content: %s", + new_content + ) if content != new_content: self._log.debug( "Line it's different, so replacing it with '%s'",