diff --git a/app/scodoc/sco_synchro_etuds.py b/app/scodoc/sco_synchro_etuds.py index c8e58dd52ec0241c122f2e77180908cf250ab5b9..1759f0a6bf9a2db70f46e0456bd271078628f11e 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