diff --git a/first_time_install.sh b/first_time_install.sh index 4b9ac4a6..2c46ed7f 100644 --- a/first_time_install.sh +++ b/first_time_install.sh @@ -1475,7 +1475,7 @@ echo "WiFi Connection Status:" if command -v nmcli >/dev/null 2>&1; then WIFI_STATUS=$(nmcli -t -f DEVICE,TYPE,STATE device status 2>/dev/null | grep -i wifi || echo "") if [ -n "$WIFI_STATUS" ]; then - echo "$WIFI_STATUS" | while IFS=':' read -r _ type state; do + echo "$WIFI_STATUS" | while IFS=':' read -r _ _ state; do if [ "$state" = "connected" ]; then SSID=$(nmcli -t -f active,ssid device wifi 2>/dev/null | grep "^yes:" | cut -d: -f2 | head -1) if [ -n "$SSID" ]; then diff --git a/scripts/dev/test_pillow_compat.py b/scripts/dev/test_pillow_compat.py index ce0dfdd6..590d632c 100755 --- a/scripts/dev/test_pillow_compat.py +++ b/scripts/dev/test_pillow_compat.py @@ -23,7 +23,7 @@ def check(label, fn): def main(): - from PIL import Image, ImageDraw, ImageFont, ImageFilter + from PIL import Image, ImageDraw, ImageFont import PIL print(f"Pillow {PIL.__version__} on Python {sys.version.split()[0]}\n") diff --git a/web_interface/app.py b/web_interface/app.py index 393fef17..57286300 100644 --- a/web_interface/app.py +++ b/web_interface/app.py @@ -742,4 +742,4 @@ if __name__ == '__main__': # long-lived /api/v3/stream/* SSE connections don't starve other requests. # Debug mode is off by default; opt in with FLASK_DEBUG=1 in the environment. _debug = _os.environ.get('FLASK_DEBUG', '0') == '1' - app.run(host='0.0.0.0', port=5000, debug=_debug, threaded=True) + app.run(host='0.0.0.0', port=5000, debug=_debug, threaded=True) # nosec B104 - intentional; local network device diff --git a/web_interface/static/v3/app.js b/web_interface/static/v3/app.js index 4fe1ed46..56b8c985 100644 --- a/web_interface/static/v3/app.js +++ b/web_interface/static/v3/app.js @@ -1,4 +1,4 @@ -/* global showNotification */ +/* global showNotification, updateSystemStats */ // LED Matrix v3 JavaScript // Additional helpers for HTMX and Alpine.js integration