Skip to content

Commit 8c9176b

Browse files
committed
Fix Pylint error to ensure E1125
1 parent 25fa2ca commit 8c9176b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

adafruit_ssd1306.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def __init__(
234234
height,
235235
external_vcc=external_vcc,
236236
reset=reset,
237-
page_addressing=self.page_addressing,
237+
page_addressing=self.page_addressing
238238
)
239239

240240
def write_cmd(self, cmd):
@@ -288,7 +288,8 @@ def __init__(
288288
external_vcc=False,
289289
baudrate=8000000,
290290
polarity=0,
291-
phase=0
291+
phase=0,
292+
page_addressing=False
292293
):
293294
self.rate = 10 * 1024 * 1024
294295
dc.switch_to_output(value=0)
@@ -303,6 +304,7 @@ def __init__(
303304
height,
304305
external_vcc=external_vcc,
305306
reset=reset,
307+
page_addressing=self.page_addressing
306308
)
307309

308310
def write_cmd(self, cmd):

0 commit comments

Comments
 (0)