diff --git a/main.py b/main.py index 50383fa..f994fce 100644 --- a/main.py +++ b/main.py @@ -121,10 +121,8 @@ if __name__ == '__main__': rainbowCycle(strip) elif mode == 1: setColor(strip, Color(int(r), int(g), int(b))) - time.sleep(1) else: setColor(strip, Color(0,0,0)) - time.sleep(1) except KeyboardInterrupt: client.publish("server-rack-led/power", "False")