Actually make the Extended debug functional lel

This commit is contained in:
Dominik V. Salonen 2016-09-23 10:48:10 +02:00
parent 428c99ab0a
commit 65f6002560
1 changed files with 3 additions and 2 deletions

5
run.py
View File

@ -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():