1
0
forked from ScoDoc/ScoDoc

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

View File

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