diff --git a/app/scodoc/sco_formsemestre_inscriptions.py b/app/scodoc/sco_formsemestre_inscriptions.py index 0c4330362..ec4bb9303 100644 --- a/app/scodoc/sco_formsemestre_inscriptions.py +++ b/app/scodoc/sco_formsemestre_inscriptions.py @@ -310,8 +310,8 @@ def do_formsemestre_inscription_with_modules( # 2- inscrit aux groupes for group in groups: if group.id not in gdone: - sco_groups.set_group(etudid, group_id) - gdone.add(group_id) + sco_groups.set_group(etudid, group.id) + gdone.add(group.id) # Inscription à tous les modules de ce semestre for modimpl in formsemestre.modimpls: