From 3f5446a83fddcc2072026a8d873513ce566b4e02 Mon Sep 17 00:00:00 2001 From: Ace Date: Tue, 19 Dec 2023 21:46:21 +0100 Subject: [PATCH] test fix for display render on 2-colour displays --- inkycal/display/display.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inkycal/display/display.py b/inkycal/display/display.py index e9fd834..5fb6420 100644 --- a/inkycal/display/display.py +++ b/inkycal/display/display.py @@ -54,7 +54,7 @@ class Display: raise NotImplementedError("Devs were too lazy again, sorry, please try again later") - def render(self, im_black: PIL.Image, im_colour: PIL.Image or None) -> None: + def render(self, im_black: PIL.Image, im_colour: PIL.Image or None=None) -> None: """Renders an image on the selected E-Paper display. Initlializes the E-Paper display, sends image data and executes command