misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
62a0cc6276
commit
a5cfb9aa8b
@ -5,7 +5,7 @@ import logging
|
|||||||
import os
|
import os
|
||||||
|
|
||||||
# https://stackoverflow.com/questions/14888799/disable-console-messages-in-flask-server
|
# https://stackoverflow.com/questions/14888799/disable-console-messages-in-flask-server
|
||||||
logging.getLogger('werkzeug').disabled = True
|
logging.getLogger('werkzeug').setLevel(logging.ERROR)
|
||||||
os.environ['WERKZEUG_RUN_MAIN'] = 'true'
|
os.environ['WERKZEUG_RUN_MAIN'] = 'true'
|
||||||
|
|
||||||
import pwnagotchi
|
import pwnagotchi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user