From 646c30bb21f42f280893f5f372cff7464a4d5fe1 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 070d373d..df292f71 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: