diff --git a/main.py b/main.py index 89391e2..627cb3f 100644 --- a/main.py +++ b/main.py @@ -154,14 +154,14 @@ if __name__ == '__main__': strip.begin() mode = 0 - power = True + power = "True" threading.Thread(target=lambda: app.run(host='0.0.0.0', port=80)).start() try: while True: print("running") - if power == True: + if power == "True": if mode == 0: rainbowCycle(strip) elif mode == 1: