Fix: mails notification sans contenu HTML

This commit is contained in:
Emmanuel Viennet 2024-10-01 11:03:20 +02:00
parent ca1ac28f2e
commit 820e42ac28
2 changed files with 2 additions and 3 deletions

View File

@ -36,7 +36,7 @@ def send_email(
sender: str,
recipients: list,
text_body: str,
html_body="",
html_body: str | None = None,
bcc=(),
attachments=(),
):
@ -56,7 +56,6 @@ def send_email(
msg.attach(
attachment["filename"], attachment["mimetype"], attachment["data"]
)
send_message(msg)

View File

@ -1,7 +1,7 @@
# -*- mode: python -*-
# -*- coding: utf-8 -*-
SCOVERSION = "9.7.26"
SCOVERSION = "9.7.27"
SCONAME = "ScoDoc"