Fix: typo => bug jury

This commit is contained in:
Emmanuel Viennet 2022-06-26 21:17:56 +02:00
parent e3d2e30449
commit 4ae831c3ac

View File

@ -2248,7 +2248,7 @@ def formsemestre_validation_but(formsemestre_id: int, etudid: int):
formsemestre = FormSemestre.query.get_or_404(formsemestre_id)
etud = Identite.query.get_or_404(etudid)
if formsemestre.etuds_inscriptions[16405].etat != scu.INSCRIT:
if formsemestre.etuds_inscriptions[etudid].etat != scu.INSCRIT:
return (
"\n".join(H)
+ f"""<div class="warning">Impossible de statuer sur cet étudiant: