From d64ecdffcba503e33afa505580d6e1af40f9c45e Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Fri, 21 Jan 2022 18:09:15 +0100 Subject: [PATCH] =?UTF-8?q?Fix:=20acc=C3=A8s=20aux=20groupes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/scodoc/sco_groups.py | 2 -- sco_version.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/app/scodoc/sco_groups.py b/app/scodoc/sco_groups.py index 87d50e3f7..b06a8e469 100644 --- a/app/scodoc/sco_groups.py +++ b/app/scodoc/sco_groups.py @@ -89,8 +89,6 @@ group_list = groupEditor.list def get_group(group_id: int): """Returns group object, with partition""" - if not isinstance(group_id, int): - raise ValueError("invalid group_id (%s)" % group_id) r = ndb.SimpleDictFetch( """SELECT gd.id AS group_id, gd.*, p.id AS partition_id, p.* FROM group_descr gd, partition p diff --git a/sco_version.py b/sco_version.py index 39b1b3401..3c171d1f5 100644 --- a/sco_version.py +++ b/sco_version.py @@ -1,7 +1,7 @@ # -*- mode: python -*- # -*- coding: utf-8 -*- -SCOVERSION = "9.1.30" +SCOVERSION = "9.1.31" SCONAME = "ScoDoc"