From 660fb1dd1c02fe3b5219e2bcac6cb300a36935fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Mon, 16 May 2022 21:38:15 +0200 Subject: [PATCH] added str MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: