diff --git a/server.py b/server.py index 8d5e528..1cd093e 100755 --- a/server.py +++ b/server.py @@ -206,13 +206,14 @@ def stop(): ticker.sendline('K') if not displaying_screensaver: + time.sleep(1) # give time for leds to turn off ticker.close() else: screensaver_p.close() if not ticker_stopped: - time.sleep(2) # give time for leds to turn off + time.sleep(1) # give time for leds to turn off ticker.close() ticker_stopped = True