remove async

This commit is contained in:
Ace 2023-06-07 13:03:45 +02:00
parent d6c6f627ae
commit b4d2913495

View File

@ -41,7 +41,7 @@ class Display:
except FileNotFoundError: except FileNotFoundError:
raise Exception('SPI could not be found. Please check if SPI is enabled') raise Exception('SPI could not be found. Please check if SPI is enabled')
async def render(self, im_black: Image.Image, im_colour=Image.Image or None) -> None: def render(self, im_black: Image.Image, im_colour=Image.Image or None) -> None:
"""Renders an image on the selected E-Paper display. """Renders an image on the selected E-Paper display.
Initlializes the E-Paper display, sends image data and executes command Initlializes the E-Paper display, sends image data and executes command