groups_auto_repartition: add check (UI)

This commit is contained in:
Emmanuel Viennet 2022-09-02 17:49:46 +02:00
parent 6766eca1d0
commit d93ce9e9be

View File

@ -1454,7 +1454,8 @@ def groups_auto_repartition(partition_id=None):
# Crée les nouveaux groupes
group_ids = []
for group_name in group_names:
group_ids.append(create_group(partition_id, group_name).id)
if group_name.strip():
group_ids.append(create_group(partition_id, group_name).id)
#
nt: NotesTableCompat = res_sem.load_formsemestre_results(formsemestre)
identdict = nt.identdict