diff --git a/biscuit/apps/alsijil/views.py b/biscuit/apps/alsijil/views.py
index ea135d5a7b293abd68493c03d2e60be1560e1f73..4c44d99dcf01fb93e74b7bdcbc88877fe7f27b8a 100644
--- a/biscuit/apps/alsijil/views.py
+++ b/biscuit/apps/alsijil/views.py
@@ -83,8 +83,6 @@ def group_week(request: HttpRequest, week: Optional[int] = None) -> HttpResponse
     else:
         group = None
 
-    lesson_periods = LessonPeriod.objects.none()
-
     periods_by_day = {}
     if group:
         for lesson in group.lessons.filter(date_start__lte=week_start, date_end__gte=week_end):