Skip to content

Commit

Permalink
Merge pull request #291 from aceinnolab/hotfix/#290
Browse files Browse the repository at this point in the history
fix an issue with im_colour parameter missing
  • Loading branch information
aceisace authored Dec 9, 2023
2 parents 83b20af + 49f78f3 commit 34014f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inkycal/display/display.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def __init__(self, epaper_model):
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
Expand Down

0 comments on commit 34014f2

Please sign in to comment.