From 65f6002560e514462391d7e95fa1402757328338 Mon Sep 17 00:00:00 2001 From: "Dominik V. Salonen" Date: Fri, 23 Sep 2016 10:48:10 +0200 Subject: [PATCH] Actually make the Extended debug functional lel --- run.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/run.py b/run.py index 42bd676..ff46dda 100755 --- a/run.py +++ b/run.py @@ -25,8 +25,9 @@ print_log('Main', 'Checking for data folder') if not os.path.exists(config['UPLOAD_FOLDER']): print_log('Main', 'Data folder not found, creating') os.makedirs(config['UPLOAD_FOLDER']) -log = logging.getLogger('werkzeug') -log.setLevel(logging.ERROR) +if config["EXTENDED_DEBUG"] == False: + log = logging.getLogger('werkzeug') + log.setLevel(logging.ERROR) def cleaner_thread():