From 570b940d202ec41e87057bcd48ab0b00c4b503e1 Mon Sep 17 00:00:00 2001 From: "paul.milleville.etu" <paul.milleville.etu@univ-lille.fr> Date: Fri, 28 Feb 2025 11:17:28 +0100 Subject: [PATCH] =?UTF-8?q?essaie=20de=20cr=C3=A9ation=20des=20groupes=20e?= =?UTF-8?q?n=20fonction=20des=20=C3=A9tapes=20apog=C3=A9e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/scodoc/sco_synchro_etuds.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/scodoc/sco_synchro_etuds.py b/app/scodoc/sco_synchro_etuds.py index c8e58dd5..1759f0a6 100644 --- a/app/scodoc/sco_synchro_etuds.py +++ b/app/scodoc/sco_synchro_etuds.py @@ -285,7 +285,9 @@ def formsemestre_synchro_etuds( print(partition_id) - sco_groups.create_etapes_partition(formsemestre_id=formsemestre_id) + for etu in nip_etape: + if etu[1] not in sco_groups.get_partition_groups(partition=partition_id): + sco_groups.create_group(partition_id=partition_id) # # check decisions jury ici pour éviter de recontruire le cache -- GitLab