Sujet mail notif chgt adr. Fix #738
This commit is contained in:
parent
3fdef1d4a0
commit
f4a2a0f888
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
@ -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"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user