aboutsummaryrefslogtreecommitdiff
path: root/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'views.py')
-rw-r--r--views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/views.py b/views.py
index 97d3048..7bc5641 100644
--- a/views.py
+++ b/views.py
@@ -45,7 +45,7 @@ def group_list_common(request, timetable, groups):
for group in groups:
for group_week in groups_weeks:
- if group.corresponds_to(timetable.id, group_week["groups__mention"],
+ if group.corresponds_to(group_week["groups__mention"],
group_week["groups__subgroup"]):
if not hasattr(group, "weeks"):
group.weeks = []