From 71e9ac407a5279e76ca66c7529157980691ceab7 Mon Sep 17 00:00:00 2001 From: David Bieber Date: Mon, 14 Apr 2025 17:02:33 -0400 Subject: [PATCH] Clean up wifi changes --- gonotego/settings/wifi.py | 2 -- gonotego/supervisord.conf | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) 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