mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Update
This commit is contained in:
@ -8,7 +8,9 @@ from functools import wraps
|
||||
|
||||
# https://stackoverflow.com/questions/14888799/disable-console-messages-in-flask-server
|
||||
logging.getLogger('werkzeug').setLevel(logging.ERROR)
|
||||
os.environ['WERKZEUG_RUN_MAIN'] = 'true'
|
||||
|
||||
# Set to false, on bookworm it wouldn't load the flask server for webui
|
||||
os.environ['WERKZEUG_RUN_MAIN'] = 'false'
|
||||
|
||||
import pwnagotchi
|
||||
import pwnagotchi.grid as grid
|
||||
|
@ -11,8 +11,8 @@ from pwnagotchi.ui.web.handler import Handler
|
||||
# https://stackoverflow.com/questions/14888799/disable-console-messages-in-flask-server
|
||||
logging.getLogger('werkzeug').setLevel(logging.ERROR)
|
||||
|
||||
# Commented this out, on bookworm it wouldnt load the flask server for webui
|
||||
os.environ['WERKZEUG_RUN_MAIN'] = 'true'
|
||||
# Set to false, on bookworm it wouldn't load the flask server for webui
|
||||
os.environ['WERKZEUG_RUN_MAIN'] = 'false'
|
||||
|
||||
|
||||
class Server:
|
||||
|
Reference in New Issue
Block a user