From bee6d10c9045079566ae51e22cb96be4a99f70cf Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Wed, 7 Aug 2024 12:48:35 +0200 Subject: [PATCH] Fix: regression (inscriptions groupes) --- app/scodoc/sco_formsemestre_inscriptions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/scodoc/sco_formsemestre_inscriptions.py b/app/scodoc/sco_formsemestre_inscriptions.py index 0c433036..ec4bb930 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: