Skip to content

Commit e54c825

Browse files
committed
DM: to my friend pylint
1 parent 6f0914a commit e54c825

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

adafruit_epd/epd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def command(self, cmd, data=None, end=True):
9595

9696
if end:
9797
self._cs.value = True
98-
98+
9999
return outbuf[0]
100100

101101
def data(self, dat):

examples/epd_blinka.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
from PIL import Image
66
from PIL import ImageDraw
77
from PIL import ImageFont
8-
from adafruit_epd.epd import Adafruit_EPD
98
from adafruit_epd.il0373 import Adafruit_IL0373
109

1110
# create the spi device and pins we will need
@@ -59,7 +58,7 @@
5958
x += shape_width+padding
6059
# Draw a triangle.
6160
draw.polygon([(x, bottom), (x+shape_width/2, top), (x+shape_width, bottom)],
62-
outline=BLACK, fill=RED)
61+
outline=BLACK, fill=RED)
6362
x += shape_width+padding
6463
# Draw an X.
6564
draw.line((x, bottom, x+shape_width, top), fill=RED)

0 commit comments

Comments
 (0)