1
0
Fork 0

Fix: test bloquant sur structire groupe defaut

This commit is contained in:
Emmanuel Viennet 2023-07-12 22:36:03 +02:00
parent 814a3802e9
commit 417b3b8383
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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"