From 8a142e22e94c8127d98755a4ec6c0c1f4701e0db Mon Sep 17 00:00:00 2001 From: Stefan Midjich Date: Sat, 17 Dec 2016 23:16:19 +0100 Subject: [PATCH 1/2] fixed some old bugs. --- portal.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/portal.py b/portal.py index 8965f89..75cad1e 100644 --- a/portal.py +++ b/portal.py @@ -15,7 +15,7 @@ except ImportError: from redis import Redis from rq import Queue -from bottle import Bottle, default_app +from bottle import Bottle, default_app, debug from bottle import request, response, template, static_file config = RawConfigParser() @@ -232,6 +232,6 @@ if __name__ == '__main__': host=config.get('portal', 'listen_host'), port=config.getint('portal', 'listen_port') ) - debug(config.getbool('portal', 'debug')) + debug(config.getboolean('portal', 'debug')) else: application = app From c96ae6c8d81f6573cf6aa4776a65bb3c44bf8bc5 Mon Sep 17 00:00:00 2001 From: Stefan Midjich Date: Sat, 17 Dec 2016 23:16:32 +0100 Subject: [PATCH 2/2] . --- static/js/captiveportal.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static/js/captiveportal.js b/static/js/captiveportal.js index 9e72f02..59c4bed 100644 --- a/static/js/captiveportal.js +++ b/static/js/captiveportal.js @@ -174,4 +174,5 @@ $('#approveForm').submit(function (event) { do_error(XMLHttpRequest.responseText); }); } + });