diff --git a/app/scodoc/sco_etud.py b/app/scodoc/sco_etud.py index 71f53bbd50..643b7db9c5 100644 --- a/app/scodoc/sco_etud.py +++ b/app/scodoc/sco_etud.py @@ -428,10 +428,10 @@ def notify_etud_change(email_addr, etud, before, after, subject): return # pas de changements txt = "\n".join(txt) # build mail - log("notify_etud_change: sending notification to %s" % email_addr) - log("notify_etud_change: subject: %s" % subject) + log(f"notify_etud_change: sending notification to {email_addr}") + log(f"notify_etud_change: subject: {subject}") 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 diff --git a/sco_version.py b/sco_version.py index 7647619cf5..45da20ff0a 100644 --- a/sco_version.py +++ b/sco_version.py @@ -1,7 +1,7 @@ # -*- mode: python -*- # -*- coding: utf-8 -*- -SCOVERSION = "9.6.41" +SCOVERSION = "9.6.42" SCONAME = "ScoDoc"