Skip to content

Commit 0b0c4eb

Browse files
committed
fix variable name
1 parent 62512ca commit 0b0c4eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PyPortal/PyPortal_OpenWeather/openweather_graphics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,6 @@ def set_icon(self, filename):
131131
return # we're done, no icon desired
132132

133133
icon = displayio.OnDiskBitmap(filename)
134-
self._icon_sprite = displayio.TileGrid(icon, pixel_shader=background.pixel_shader)
134+
self._icon_sprite = displayio.TileGrid(icon, pixel_shader=icon.pixel_shader)
135135

136136
self._icon_group.append(self._icon_sprite)

0 commit comments

Comments
 (0)