Fix regression: inscription
This commit is contained in:
parent
fc036705e8
commit
07c2f00d0d
@ -288,7 +288,11 @@ def do_formsemestre_inscription_with_modules(
|
|||||||
if isinstance(group_ids, int):
|
if isinstance(group_ids, int):
|
||||||
group_ids = [group_ids]
|
group_ids = [group_ids]
|
||||||
# Check that all groups exist before creating the inscription
|
# Check that all groups exist before creating the inscription
|
||||||
groups = [GroupDescr.query.get_or_404(group_id) for group_id in group_ids]
|
groups = [
|
||||||
|
GroupDescr.query.get_or_404(group_id)
|
||||||
|
for group_id in group_ids
|
||||||
|
if group_id != ""
|
||||||
|
]
|
||||||
formsemestre = FormSemestre.get_formsemestre(formsemestre_id, dept_id=dept_id)
|
formsemestre = FormSemestre.get_formsemestre(formsemestre_id, dept_id=dept_id)
|
||||||
# inscription au semestre
|
# inscription au semestre
|
||||||
args = {"formsemestre_id": formsemestre_id, "etudid": etudid}
|
args = {"formsemestre_id": formsemestre_id, "etudid": etudid}
|
||||||
|
Loading…
Reference in New Issue
Block a user