diff --git a/server.py b/server.py index 467e653..e8170a7 100755 --- a/server.py +++ b/server.py @@ -1384,11 +1384,11 @@ def screensaver(): elif "Grayscale Block" in data: screensaver_p = pexpect.spawn("sudo ./demo --led-gpio-mapping=adafruit-hat --led-rows=32 --led-cols=128 -D 5") elif "Clock 1" in data: - screensaver_p = pexpect.spawn("sudo python3 clock_screensaver.py") + screensaver_p = pexpect.spawn("python3 clock_screensaver.py") elif "Clock 2" in data: - screensaver_p = pexpect.spawn("sudo python3 clock_screensaver2.py") + screensaver_p = pexpect.spawn("python3 clock_screensaver2.py") elif "World Clock" in data: - screensaver_p = pexpect.spawn("sudo python3 world_clock2.py") + screensaver_p = pexpect.spawn("python3 world_clock2.py") elif "Sleep" in data: screensaver_p = DummyProcess() else: #default in case user hasnt set one yet