add list condition

This commit is contained in:
2023-12-12 14:13:08 +01:00
parent f42860d900
commit 479c1513a3
7 changed files with 52 additions and 66 deletions

View File

@@ -223,7 +223,7 @@ class EMailNotification(BaseNotification):
logger.debug(
f"removing attribute '{attribute}' "
f"from tag '{element.name}'")
del(element.attrs[attribute])
del element.attrs[attribute]
return soup
def notify(self, msg, qid, mailfrom, recipients, logger,