Skip to content

Commit 83bef67

Browse files
committed
Moar linting.
1 parent caee24a commit 83bef67

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

adafruit_slideshow.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ def __init__(self, display, backlight_pwm, *, folder="/", order=PlayBackOrder.AL
196196

197197
@property
198198
def current_image_name(self):
199+
"""Returns the current image name."""
199200
return self._file_list[self._current_image]
200201

201202
@property
@@ -293,7 +294,7 @@ def advance(self):
293294
self._image_file = open(imagename, "rb")
294295
try:
295296
odb = displayio.OnDiskBitmap(self._image_file)
296-
except ValueError as error:
297+
except ValueError:
297298
self._image_file.close()
298299
self._image_file = None
299300
del self._file_list[self._current_image]

0 commit comments

Comments
 (0)