Actually make the Extended debug functional lel
This commit is contained in:
parent
428c99ab0a
commit
65f6002560
1
run.py
1
run.py
|
@ -25,6 +25,7 @@ print_log('Main', 'Checking for data folder')
|
||||||
if not os.path.exists(config['UPLOAD_FOLDER']):
|
if not os.path.exists(config['UPLOAD_FOLDER']):
|
||||||
print_log('Main', 'Data folder not found, creating')
|
print_log('Main', 'Data folder not found, creating')
|
||||||
os.makedirs(config['UPLOAD_FOLDER'])
|
os.makedirs(config['UPLOAD_FOLDER'])
|
||||||
|
if config["EXTENDED_DEBUG"] == False:
|
||||||
log = logging.getLogger('werkzeug')
|
log = logging.getLogger('werkzeug')
|
||||||
log.setLevel(logging.ERROR)
|
log.setLevel(logging.ERROR)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue