From 2fb685a88d974086fb7ea14de75d4816a0b5829d Mon Sep 17 00:00:00 2001
From: Dominik George <dominik.george@teckids.org>
Date: Sat, 31 Aug 2019 18:08:34 +0200
Subject: [PATCH] Fix dictionary access.

---
 biscuit/apps/chronos/templates/chronos/lessons_list.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/biscuit/apps/chronos/templates/chronos/lessons_list.html b/biscuit/apps/chronos/templates/chronos/lessons_list.html
index dd06df9e..a1684161 100644
--- a/biscuit/apps/chronos/templates/chronos/lessons_list.html
+++ b/biscuit/apps/chronos/templates/chronos/lessons_list.html
@@ -16,7 +16,7 @@
   <input type="submit" value="Select" /> 
  </form>
 
- {% for weekday, lesson_periods_day in lesson_periods %}
+ {% for weekday, lesson_periods_day in lesson_periods.items %}
   <h3>{{ weekday }}</h3>
   <table class="table table-striped table-bordered table-hover table-responsive-xl">
    <thead>
-- 
GitLab