From 841adf1e0a28b0c2352d951eddae28398ce0eec1 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 31 Jul 2026 00:50:47 -0400 Subject: [PATCH] Update pushbutton.py fix tabs --- pushbutton.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pushbutton.py b/pushbutton.py index 03fcac50..348aee6f 100644 --- a/pushbutton.py +++ b/pushbutton.py @@ -150,7 +150,7 @@ if not GPIO.input(push_button): # if pushbutton is held down during boot result = subprocess.run(['nmcli', 'connection', 'show'], capture_output=True, text=True) print(result, flush=True) sleep(2) - subprocess.Popen(['sudo', '-u', 'pi', 'ttyd', '-p', '8080', 'bash']) + subprocess.Popen(['sudo', '-u', 'pi', 'ttyd', '-p', '8080', 'bash']) GPIO.setup(powerPin, GPIO.OUT) GPIO.output(powerPin, 1)