Fix: passage étudiants suivant/précédent en mode jury

This commit is contained in:
Emmanuel Viennet 2021-08-22 00:28:17 +02:00
parent c8221b6a00
commit 2852255227
1 changed files with 2 additions and 2 deletions

View File

@ -70,9 +70,9 @@ def formsemestre_validation_etud_form(
formsemestre_id
) # > get_table_moyennes_triees, get_etud_decision_sem
T = nt.get_table_moyennes_triees()
if not etudid and not etud_index:
if not etudid and etud_index is None:
raise ValueError("formsemestre_validation_etud_form: missing argument etudid")
if etud_index:
if etud_index is not None:
etud_index = int(etud_index)
# cherche l'etudid correspondant
if etud_index < 0 or etud_index >= len(T):