diff --git a/gonotego/settings/wifi.py b/gonotego/settings/wifi.py index 71f671c5..68fd37a 100644 --- a/gonotego/settings/wifi.py +++ b/gonotego/settings/wifi.py @@ -23,8 +23,6 @@ def save_networks(networks): def update_wpa_supplicant_config(): """Update the Go Note Go managed section of wpa_supplicant.conf.""" - from gonotego.command_center.system_commands import shell # Import here to avoid circular import - networks = get_networks() filepath = '/etc/wpa_supplicant/wpa_supplicant.conf' diff --git a/gonotego/supervisord.conf b/gonotego/supervisord.conf index a25df51..f7ced19 100644 --- a/gonotego/supervisord.conf +++ b/gonotego/supervisord.conf @@ -52,4 +52,4 @@ user=pi [program:GoNoteGo-settings] command=/home/pi/code/github/dbieber/GoNoteGo/env/bin/python /home/pi/code/github/dbieber/GoNoteGo/gonotego/settings/server.py directory=/home/pi -user=pi +user=root