From 4ae831c3ac0ca18c3cdb2f5ed2da8612a00e192d Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Sun, 26 Jun 2022 21:17:56 +0200 Subject: [PATCH] Fix: typo => bug jury --- app/views/notes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/notes.py b/app/views/notes.py index f433dadba2..ce3d6b88bd 100644 --- a/app/views/notes.py +++ b/app/views/notes.py @@ -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"""
Impossible de statuer sur cet étudiant: