Skip to content

Commit bee02ab

Browse files
committed
UpSet werkzeug to false
1 parent 211b60d commit bee02ab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pwnagotchi/ui/web/handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
# https://stackoverflow.com/questions/14888799/disable-console-messages-in-flask-server
1212
logging.getLogger('werkzeug').setLevel(logging.ERROR)
13-
os.environ['WERKZEUG_RUN_MAIN'] = 'true'
13+
os.environ['WERKZEUG_RUN_MAIN'] = 'false'
1414

1515
import pwnagotchi
1616
import pwnagotchi.grid as grid

pwnagotchi/ui/web/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
# https://stackoverflow.com/questions/14888799/disable-console-messages-in-flask-server
77
logging.getLogger('werkzeug').setLevel(logging.ERROR)
8-
os.environ['WERKZEUG_RUN_MAIN'] = 'true'
8+
os.environ['WERKZEUG_RUN_MAIN'] = 'false'
99

1010
from flask import Flask
1111
from flask_cors import CORS

0 commit comments

Comments
 (0)