From 0fa6ddd8706bf9594371a820ab16fa769c528197 Mon Sep 17 00:00:00 2001 From: Thomas Oettli Date: Sat, 29 Feb 2020 00:55:41 +0100 Subject: [PATCH] Fix typo --- pyquarantine/notifications.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyquarantine/notifications.py b/pyquarantine/notifications.py index 638a339..8c5eaf2 100644 --- a/pyquarantine/notifications.py +++ b/pyquarantine/notifications.py @@ -263,7 +263,7 @@ class EMailNotification(BaseNotification): # completly remove bad elements for element in soup(EMailNotification._bad_tags): self.logger.debug( - f"{qid}: removing dangerous tag '{element_name}' and its content") + f"{qid}: removing dangerous tag '{element.name}' and its content") element.extract() # remove not whitelisted elements, but keep their content