Skip to content
Snippets Groups Projects
Commit dc8f8b77 authored by Paul Milleville's avatar Paul Milleville
Browse files

fix bug

parent f62ad8b4
No related branches found
No related tags found
No related merge requests found
......@@ -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)):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment