From bc5fb9dc9e8b51b69d90cc6ab51860fe44e4de39 Mon Sep 17 00:00:00 2001 From: "regicidal.plutophage" <36969337+regicidalplutophage@users.noreply.github.com> Date: Mon, 27 Mar 2023 01:25:00 +0300 Subject: [PATCH] Fix OLED ImageEntry Fixed a silly oversight that was preventing image entries from working --- kmk/extensions/oled.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kmk/extensions/oled.py b/kmk/extensions/oled.py index 5a5efec..eb67215 100644 --- a/kmk/extensions/oled.py +++ b/kmk/extensions/oled.py @@ -68,7 +68,7 @@ class ImageEntry: def __init__(self, x=0, y=0, image='', layer=None, side=None): self.x = x self.y = y - self.image = image + self.image = displayio.OnDiskBitmap(image) self.layer = layer self.side = side if side == 'L':