This commit is contained in:
2020-02-29 00:55:41 +01:00
parent 22a61e1df3
commit 0fa6ddd870

View File

@@ -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