diff --git a/django/applications/catmaid/control/stackgroup.py b/django/applications/catmaid/control/stackgroup.py index 1a715b9b59..01acddf0c3 100644 --- a/django/applications/catmaid/control/stackgroup.py +++ b/django/applications/catmaid/control/stackgroup.py @@ -17,7 +17,6 @@ def get_stackgroup_info(request, project_id, stackgroup_id): .filter(stack_group=stackgroup_id) \ .order_by('position') \ .select_related('group_relation') - stacks = [l.stack_id for l in stackgroup_links] result = { 'id': stackgroup.id,