From 8a142e22e94c8127d98755a4ec6c0c1f4701e0db Mon Sep 17 00:00:00 2001 From: Stefan Midjich Date: Sat, 17 Dec 2016 23:16:19 +0100 Subject: [PATCH] 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