From 417b3b8383c0d79c40409b7705649ab1aa2a22a1 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Wed, 12 Jul 2023 22:36:03 +0200 Subject: [PATCH] Fix: test bloquant sur structire groupe defaut --- app/scodoc/sco_groups.py | 2 +- sco_version.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/scodoc/sco_groups.py b/app/scodoc/sco_groups.py index 932c014a..8486fa95 100644 --- a/app/scodoc/sco_groups.py +++ b/app/scodoc/sco_groups.py @@ -241,7 +241,7 @@ def get_default_group(formsemestre_id, fix_if_missing=False): return group.id # debug check 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"] return group_id diff --git a/sco_version.py b/sco_version.py index fa162ac9..10a961f9 100644 --- a/sco_version.py +++ b/sco_version.py @@ -1,7 +1,7 @@ # -*- mode: python -*- # -*- coding: utf-8 -*- -SCOVERSION = "9.5.1" +SCOVERSION = "9.5.2" SCONAME = "ScoDoc"