From 1e378eeef9bb5966fd235d07b8f95f3e2c7ab836 Mon Sep 17 00:00:00 2001 From: Kattni Rembor Date: Wed, 19 Dec 2018 12:57:41 -0600 Subject: [PATCH] Update wheel --- .../CircuitPlayground_Christmas_Tree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CircuitPlayground_Christmas_Tree/CircuitPlayground_Christmas_Tree.py b/CircuitPlayground_Christmas_Tree/CircuitPlayground_Christmas_Tree.py index b47e4867..046f78c8 100644 --- a/CircuitPlayground_Christmas_Tree/CircuitPlayground_Christmas_Tree.py +++ b/CircuitPlayground_Christmas_Tree/CircuitPlayground_Christmas_Tree.py @@ -42,7 +42,7 @@ def wheel(pos): r = 0 g = int(pos * 3) b = int(255 - pos * 3) - return (r, g, b) if ORDER == neopixel.RGB or ORDER == neopixel.GRB else (r, g, b, 0) + return (r, g, b) if ORDER in (neopixel.RGB, neopixel.GRB) else (r, g, b, 0) def rainbow_swirl(wait):