diff --git a/app/scodoc/sco_formsemestre_inscriptions.py b/app/scodoc/sco_formsemestre_inscriptions.py index c12fa73a..f59eaa1e 100644 --- a/app/scodoc/sco_formsemestre_inscriptions.py +++ b/app/scodoc/sco_formsemestre_inscriptions.py @@ -210,7 +210,7 @@ def do_formsemestre_desinscription(etudid, formsemestre_id): if nt.etud_has_decision(etudid): raise ScoValueError( - """désinscription impossible: l'étudiant {etud.nomprenom} a + f"""désinscription impossible: l'étudiant {etud.nomprenom} a une décision de jury (la supprimer avant si nécessaire)""" ) diff --git a/app/templates/sco_value_error.j2 b/app/templates/sco_value_error.j2 index 840d3802..94b60310 100644 --- a/app/templates/sco_value_error.j2 +++ b/app/templates/sco_value_error.j2 @@ -5,7 +5,7 @@
{% if g.scodoc_dept %}