Sujet mail notif chgt adr. Fix #738

This commit is contained in:
Emmanuel Viennet 2023-10-09 15:29:01 +02:00
parent 3fdef1d4a0
commit f4a2a0f888
2 changed files with 4 additions and 4 deletions

View File

@ -428,10 +428,10 @@ def notify_etud_change(email_addr, etud, before, after, subject):
return # pas de changements return # pas de changements
txt = "\n".join(txt) txt = "\n".join(txt)
# build mail # build mail
log("notify_etud_change: sending notification to %s" % email_addr) log(f"notify_etud_change: sending notification to {email_addr}")
log("notify_etud_change: subject: %s" % subject) log(f"notify_etud_change: subject: {subject}")
log(txt) log(txt)
email.send_email(subject, email.get_from_addr(), [email_addr], txt) email.send_email("[ScoDoc] " + subject, email.get_from_addr(), [email_addr], txt)
return txt return txt

View File

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