forked from ScoDoc/ScoDoc
Fix: passage étudiants suivant/précédent en mode jury
This commit is contained in:
parent
c8221b6a00
commit
2852255227
@ -70,9 +70,9 @@ def formsemestre_validation_etud_form(
|
|||||||
formsemestre_id
|
formsemestre_id
|
||||||
) # > get_table_moyennes_triees, get_etud_decision_sem
|
) # > get_table_moyennes_triees, get_etud_decision_sem
|
||||||
T = nt.get_table_moyennes_triees()
|
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")
|
raise ValueError("formsemestre_validation_etud_form: missing argument etudid")
|
||||||
if etud_index:
|
if etud_index is not None:
|
||||||
etud_index = int(etud_index)
|
etud_index = int(etud_index)
|
||||||
# cherche l'etudid correspondant
|
# cherche l'etudid correspondant
|
||||||
if etud_index < 0 or etud_index >= len(T):
|
if etud_index < 0 or etud_index >= len(T):
|
||||||
|
Loading…
Reference in New Issue
Block a user