1
0
forked from ScoDoc/ScoDoc

Fix: passage d'un semestre à l'autre

This commit is contained in:
Emmanuel Viennet 2022-01-07 18:38:32 +01:00
parent 0ceb1c8046
commit 8b2edca257

View File

@ -292,6 +292,8 @@ def formsemestre_inscr_passage(
etuds = [int(x) for x in etuds.split(",") if x]
elif isinstance(etuds, int):
etuds = [etuds]
elif etuds and isinstance(etuds[0], str):
etuds = [int(x) for x in etuds]
auth_etuds_by_sem, inscrits, candidats = list_authorized_etuds_by_sem(sem)
etuds_set = set(etuds)