From 30173b129b43ccb106cc80c869adf1933e4897a2 Mon Sep 17 00:00:00 2001
From: Andreas <andreasv@fsmpi.rwth-aachen.de>
Date: Sat, 20 May 2017 18:55:36 +0200
Subject: [PATCH] small ical bug fix 2...

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

diff --git a/icalexport.py b/icalexport.py
index 95448e9..7418f56 100644
--- a/icalexport.py
+++ b/icalexport.py
@@ -56,7 +56,7 @@ def ical_semester(semester):
 @app.route('/internal/ical/all')
 @calperm
 def ical_all():
-	return export_lectures(query('SELECT lectures.* FROM lectures lectures.visible = 1'),'videoag_all.ics')
+	return export_lectures(query('SELECT lectures.* FROM lectures WHERE lectures.visible = 1'),'videoag_all.ics')
 
 @app.route('/internal/ical/course/<course>')
 @calperm
-- 
GitLab