TG-40 : MAJ de l'interface

This commit is contained in:
Clément ARNAUDEAU
2017-05-09 13:32:01 +02:00
parent 335bd04803
commit 2e8075b25b
2 changed files with 48 additions and 2 deletions

View File

@ -94,7 +94,7 @@ class PeriodAPI(Resource):
query = PERIOD.update().values(student_desc=text).where(PERIOD.c.id == pid)
else: # Sinon on vérifie que c'est une période d'entreprise
if period["type"] == TypesPeriode.universitaire:
return {"ERROR": "A tutor can't modify a university period !"}
return {"ERROR": "A tutor can't modify a university period !"}, 405
mail = mailsModels.getMailContent("ETUTOR_COMMENT_ADDED", {"TUTEUR": user["name"],
"URL": getParam('OLA_URL')})