Skip to content

Commit 473d92e

Browse files
committed
pylint fix
1 parent eaf56fa commit 473d92e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

PyPortal_Smart_Switch/code.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@ class Switch(object):
8989
def __init__(self, pin, my_pyportal):
9090
self.switch = digitalio.DigitalInOut(pin)
9191
self.switch.direction = digitalio.Direction.OUTPUT
92-
rect = RoundRect(SWITCHX, SWITCHY, 31, 60, 16, outline=SWITCH_COLOR, fill=SWITCH_FILL_COLOR, stroke=3)
92+
rect = RoundRect(SWITCHX, SWITCHY, 31, 60, 16, outline=SWITCH_COLOR,
93+
fill=SWITCH_FILL_COLOR, stroke=3)
9394
my_pyportal.splash.append(rect)
9495
self.circle_on = Circle(SWITCHX + 15, SWITCHY + 16, 10, fill=SWITCH_FILL_COLOR)
9596
my_pyportal.splash.append(self.circle_on)

0 commit comments

Comments
 (0)