From 287c4689ad6a961250a058bdb0a65d21782ac615 Mon Sep 17 00:00:00 2001 From: Tim Schubert Date: Thu, 20 Sep 2018 16:45:52 +0200 Subject: [PATCH] Fetch group so that list of projects can be referenced --- src/abgabesystem/projects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/abgabesystem/projects.py b/src/abgabesystem/projects.py index 2aed458..7535b57 100644 --- a/src/abgabesystem/projects.py +++ b/src/abgabesystem/projects.py @@ -106,7 +106,7 @@ def setup_projects(gl, course, deploy_key): solutions_groups = course.subgroups.list(search='solutions') for group in solutions_groups: if group.name == 'solutions': - solutions = group + solutions = gl.groups.get(group.id) if solutions is None: raise InvalidCourse("No solutions subgroup")