forked from ScoDoc/ScoDoc
Fix: passage d'un semestre à l'autre
This commit is contained in:
parent
0ceb1c8046
commit
8b2edca257
@ -292,6 +292,8 @@ def formsemestre_inscr_passage(
|
|||||||
etuds = [int(x) for x in etuds.split(",") if x]
|
etuds = [int(x) for x in etuds.split(",") if x]
|
||||||
elif isinstance(etuds, int):
|
elif isinstance(etuds, int):
|
||||||
etuds = [etuds]
|
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)
|
auth_etuds_by_sem, inscrits, candidats = list_authorized_etuds_by_sem(sem)
|
||||||
etuds_set = set(etuds)
|
etuds_set = set(etuds)
|
||||||
|
Loading…
Reference in New Issue
Block a user