diff --git a/app/scodoc/sco_synchro_etuds.py b/app/scodoc/sco_synchro_etuds.py index 93793aad4cbba7d455990cf6d94b23c2f8708536..910b45dc80c7ef43925fea51385b95c2571760b9 100644 --- a/app/scodoc/sco_synchro_etuds.py +++ b/app/scodoc/sco_synchro_etuds.py @@ -286,8 +286,12 @@ def formsemestre_synchro_etuds( print(partition_id) for etu in nip_etape: + print(etu[1] not in sco_groups.get_partition_groups(partition=sco_groups.get_partition(partition_id))) + print(etu[1]) + print(sco_groups.get_partition_groups(partition=sco_groups.get_partition(partition_id))) if etu[1] not in sco_groups.get_partition_groups(partition=sco_groups.get_partition(partition_id)): sco_groups.create_group(partition_id=partition_id,group_name=etu[1]) + # Recherche du group_id correspondant group_id = None for group in sco_groups.get_partition_groups(partition=sco_groups.get_partition(partition_id)):