Fix: test bloquant sur structire groupe defaut
This commit is contained in:
parent
814a3802e9
commit
417b3b8383
@ -241,7 +241,7 @@ def get_default_group(formsemestre_id, fix_if_missing=False):
|
|||||||
return group.id
|
return group.id
|
||||||
# debug check
|
# debug check
|
||||||
if len(r) != 1:
|
if len(r) != 1:
|
||||||
raise ScoException(f"invalid group structure for {formsemestre_id}")
|
log(f"invalid group structure for {formsemestre_id}: {len(r)}")
|
||||||
group_id = r[0]["group_id"]
|
group_id = r[0]["group_id"]
|
||||||
return group_id
|
return group_id
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# -*- mode: python -*-
|
# -*- mode: python -*-
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
SCOVERSION = "9.5.1"
|
SCOVERSION = "9.5.2"
|
||||||
|
|
||||||
SCONAME = "ScoDoc"
|
SCONAME = "ScoDoc"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user