From d37baaec70c6bfe472360436910e818b64f2abf3 Mon Sep 17 00:00:00 2001 From: redfast00 Date: Thu, 13 Feb 2020 13:52:58 +0100 Subject: [PATCH] Rechtstreeks pushen op master om @mcbloch gelukkig te maken --- app/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/app.py b/app/app.py index e9fa368..f9fd022 100644 --- a/app/app.py +++ b/app/app.py @@ -142,7 +142,7 @@ def door(username): @app.route('/spaceapi.json') def spaceapi(): - cammiestatus = requests.get('https://kelder.zeus.ugent.be/webcam/cgi/ptdc.cgi') + cammiestatus = requests.get('https://kelder.zeus.ugent.be/webcam/cgi/ptdc.cgi', timeout=1) # Avoid XML parsing status = '0' not in cammiestatus.text response = jsonify({