Skip to content

Commit 0770e9c

Browse files
committed
Pylint fixes
1 parent 7efda54 commit 0770e9c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

adafruit_pyportal.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,8 @@ def __init__(self, *, url=None, headers=None, json_path=None, regexp_path=None,
378378
if not self._image_position:
379379
self._image_position = (0, 0) # default to top corner
380380
if not self._image_resize:
381-
self._image_resize = (board.DISPLAY.width, board.DISPLAY.height) # default to full screen
381+
self._image_resize = (board.DISPLAY.width,
382+
board.DISPLAY.height) # default to full screen
382383
if hasattr(board, 'TOUCH_XL'):
383384
if self._debug:
384385
print("Init touchscreen")
@@ -387,7 +388,8 @@ def __init__(self, *, url=None, headers=None, json_path=None, regexp_path=None,
387388
board.TOUCH_YD, board.TOUCH_YU,
388389
calibration=((5200, 59000),
389390
(5800, 57000)),
390-
size=(board.DISPLAY.width, board.DISPLAY.height))
391+
size=(board.DISPLAY.width,
392+
board.DISPLAY.height))
391393
# pylint: enable=no-member
392394

393395
self.set_backlight(1.0) # turn on backlight

0 commit comments

Comments
 (0)