forked from ScoDoc/ScoDoc
ajoute création automatique du groupe par défaut
This commit is contained in:
parent
7b62ab8784
commit
2998f730df
@ -324,7 +324,9 @@ class DisplayedGroupsInfos:
|
|||||||
if not formsemestre_id:
|
if not formsemestre_id:
|
||||||
raise Exception("missing parameter formsemestre_id or group_ids")
|
raise Exception("missing parameter formsemestre_id or group_ids")
|
||||||
if select_all_when_unspecified:
|
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:
|
else:
|
||||||
# selectionne le premier groupe trouvé, s'il y en a un
|
# selectionne le premier groupe trouvé, s'il y en a un
|
||||||
partition = sco_groups.get_partitions_list(
|
partition = sco_groups.get_partitions_list(
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# -*- mode: python -*-
|
# -*- mode: python -*-
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
SCOVERSION = "9.6.33"
|
SCOVERSION = "9.6.34"
|
||||||
|
|
||||||
SCONAME = "ScoDoc"
|
SCONAME = "ScoDoc"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user