Skip to content

Commit 85419a3

Browse files
author
Kevin J Walters
committed
Remedying pylink whitespace complaints.
1 parent f738fa7 commit 85419a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_ws2801.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def __init__(self, clock, data, n, *, brightness=1.0, auto_write=True):
9292
def deinit(self):
9393
"""Blank out the DotStars and release the resources."""
9494
self.auto_write = False
95-
black=(0,0,0)
95+
black = (0, 0, 0)
9696
self.fill(black)
9797
self.show()
9898
if self._spi:
@@ -119,7 +119,7 @@ def _set_item(self, index, value):
119119
else:
120120
r, g, b = value
121121
# red/green/blue order for WS2801
122-
self._buf[offset] = r
122+
self._buf[offset] = r
123123
self._buf[offset + 1] = g
124124
self._buf[offset + 2] = b
125125

0 commit comments

Comments
 (0)