added str

Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-05-16 21:38:15 +02:00
parent 7bdbc9a737
commit 660fb1dd1c
1 changed files with 2 additions and 2 deletions

View File

@ -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: