Skip to content

Commit 85d7628

Browse files
committed
Fix for pylint
1 parent d0aa6dc commit 85d7628

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/pixels_simpletest.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,9 @@ def wheel(pos):
1414
return (0, 0, 0)
1515
if pos < 85:
1616
return (int(pos * 3), int(255 - (pos*3)), 0)
17-
elif pos < 170:
17+
if pos < 170:
1818
pos -= 85
1919
return (int(255 - pos*3), 0, int(pos*3))
20-
#else:
2120
pos -= 170
2221
return (0, int(pos*3), int(255 - pos*3))
2322

0 commit comments

Comments
 (0)