Skip to content

Commit 1bd2e4a

Browse files
author
Jonathan Dahan
committed
try bytes
1 parent 97d197e commit 1bd2e4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_framebuf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def fill(framebuf, color):
7373
else:
7474
fill = 0x00
7575
for i in range(len(framebuf.buf)): # pylint: disable=consider-using-enumerate
76-
framebuf.buf[i] = fill
76+
framebuf.buf[i] = bytes(fill)
7777

7878
@staticmethod
7979
def rect(framebuf, x, y, width, height, color):

0 commit comments

Comments
 (0)