From dabada054ce619bde674b5a1b78dc4a86cf12452 Mon Sep 17 00:00:00 2001
From: Andreas <andreasv@fsmpi.rwth-aachen.de>
Date: Wed, 26 Jul 2017 00:17:18 +0200
Subject: [PATCH] dicts keys != object attributes ..

---
 livestreams.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/livestreams.py b/livestreams.py
index 10118d8..38c13e9 100644
--- a/livestreams.py
+++ b/livestreams.py
@@ -18,5 +18,5 @@ def livestream_thumbnail():
 			WHERE streams.active AND (? OR streams.visible)
 			''', ismod())
 	for v in genlive(livestreams):
-		schedule_thumbnail(v.lecture_id)
+		schedule_thumbnail(v['lecture_id'])
 
-- 
GitLab