Skip to content

Commit 4f4cdbe

Browse files
authored
Merge pull request #44 from RetiredWizard/main
Replace depreciated .show()
2 parents 82e01aa + 86b7a11 commit 4f4cdbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_slideshow.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def _check_json_file(file: str) -> bool:
258258
# Setup the display
259259
self._group = displayio.Group()
260260
self._display = display
261-
display.show(self._group)
261+
display.root_group = self._group
262262

263263
self._backlight_pwm = backlight_pwm
264264
if (

0 commit comments

Comments
 (0)