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:
|
||||
|
@ -26,7 +26,11 @@ dependencies = [
|
||||
"shimmy; platform_machine!=\"armv6l\"",
|
||||
"smbus2",
|
||||
"spidev",
|
||||
"stable_baselines3; platform_machine!=\"armv6l\"",
|
||||
"stable_baselines3==1.8.0; platform_machine==\"armv6l\"",
|
||||
"toml",
|
||||
"torch==2.0.1",
|
||||
"torchvision==0.15.2",
|
||||
"tweepy",
|
||||
"websockets"
|
||||
]
|
||||
|
@ -18,6 +18,10 @@ scapy
|
||||
shimmy; platform_machine!="armv6l"
|
||||
smbus2
|
||||
spidev
|
||||
stable_baselines3; platform_machine!="armv6l"
|
||||
stable_baselines3==1.8.0; platform_machine=="armv6l"
|
||||
toml
|
||||
torch==2.0.1
|
||||
torchvision==0.15.2
|
||||
tweepy
|
||||
websockets
|
Reference in New Issue
Block a user