From e65c9b02b530ffb810bbd59d38e5e9f927a3b1b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Mon, 16 May 2022 21:40:03 +0200 Subject: [PATCH] fixxed typo 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 470607f..4ebc81b 100644 --- a/main.py +++ b/main.py @@ -150,10 +150,10 @@ if __name__ == '__main__': elif power == "": return 'No power argument specified' elif power == "True": - power = True + power = "True" return 'Power: ON' elif power == "False": - power = False + power = "False" return 'Power: OFF' strip = Adafruit_NeoPixel(LED_COUNT, LED_PIN, LED_FREQ_HZ, LED_DMA, LED_INVERT, LED_BRIGHTNESS, LED_CHANNEL)