1
0
forked from ScoDoc/ScoDoc

ajoute création automatique du groupe par défaut

This commit is contained in:
Emmanuel Viennet 2023-09-22 21:33:58 +02:00
parent 7b62ab8784
commit 2998f730df
2 changed files with 4 additions and 2 deletions

View File

@ -324,7 +324,9 @@ class DisplayedGroupsInfos:
if not formsemestre_id:
raise Exception("missing parameter formsemestre_id or group_ids")
if select_all_when_unspecified:
group_ids = [sco_groups.get_default_group(formsemestre_id)]
group_ids = [
sco_groups.get_default_group(formsemestre_id, fix_if_missing=True)
]
else:
# selectionne le premier groupe trouvé, s'il y en a un
partition = sco_groups.get_partitions_list(

View File

@ -1,7 +1,7 @@
# -*- mode: python -*-
# -*- coding: utf-8 -*-
SCOVERSION = "9.6.33"
SCOVERSION = "9.6.34"
SCONAME = "ScoDoc"