From 49f78f3090266ec3738c716cb31e27663b0d2abc Mon Sep 17 00:00:00 2001 From: Ace Date: Sat, 9 Dec 2023 21:45:38 +0000 Subject: [PATCH] fix an issue with im_colour parameter missing --- 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 70a7a29..a0a0122 100644 --- a/inkycal/display/display.py +++ b/inkycal/display/display.py @@ -44,7 +44,7 @@ class Display: except FileNotFoundError: raise Exception('SPI could not be found. Please check if SPI is enabled') - def render(self, im_black: Image, im_colour:Image or None) -> None: + def render(self, im_black: Image, im_colour: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