aboutsummaryrefslogtreecommitdiff
path: root/feeds.py
diff options
context:
space:
mode:
Diffstat (limited to 'feeds.py')
-rw-r--r--feeds.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/feeds.py b/feeds.py
index 72d7873..11fb429 100644
--- a/feeds.py
+++ b/feeds.py
@@ -52,7 +52,7 @@ class IcalFeed(Feed):
def get_object(self, request, timetable_slug, group_slug):
try:
timetable = Timetable.objects.get(slug=timetable_slug)
- group = Group.objects.get(timetable=timetable, slug=group_slug)
+ group = Group.objects.get(timetable=timetable, slug=group_slug, active=True)
except:
raise ObjectDoesNotExist
else: