diff --git a/app/scodoc/sco_evaluation_db.py b/app/scodoc/sco_evaluation_db.py index 17d47915a..6586ddd09 100644 --- a/app/scodoc/sco_evaluation_db.py +++ b/app/scodoc/sco_evaluation_db.py @@ -185,7 +185,8 @@ def _check_evaluation_args(args): if (jour > date_fin) or (jour < date_debut): raise ScoValueError( "La date de l'évaluation (%s/%s/%s) n'est pas dans le semestre !" - % (d, m, y) + % (d, m, y), + dest_url="javascript:history.back();", ) heure_debut = args.get("heure_debut", None) args["heure_debut"] = heure_debut diff --git a/app/scodoc/sco_exceptions.py b/app/scodoc/sco_exceptions.py index 5f64f57b2..112658e65 100644 --- a/app/scodoc/sco_exceptions.py +++ b/app/scodoc/sco_exceptions.py @@ -40,7 +40,7 @@ class InvalidNoteValue(ScoException): pass -# Exception qui stoque dest_url, utilisee dans Zope standard_error_message +# Exception qui stoque dest_url class ScoValueError(ScoException): def __init__(self, msg, dest_url=None): super().__init__(msg) diff --git a/sco_version.py b/sco_version.py index 00415b082..c3e725205 100644 --- a/sco_version.py +++ b/sco_version.py @@ -1,7 +1,7 @@ # -*- mode: python -*- # -*- coding: utf-8 -*- -SCOVERSION = "9.1.35" +SCOVERSION = "9.1.36" SCONAME = "ScoDoc"