Update Inky Render to not crash the script
Updated Inky so in case the render cannot display anything to the hardware everything else works (like the webbrowser) Other renders should do the same
This commit is contained in:
parent
683d260c74
commit
31db4d062c
@ -190,7 +190,10 @@ class Display(View):
|
||||
])
|
||||
|
||||
self._display.set_image(img_buffer)
|
||||
self._display.show()
|
||||
try:
|
||||
self._display.show()
|
||||
except:
|
||||
print("")
|
||||
|
||||
def _papirus_render(self):
|
||||
self._display.display(self._canvas)
|
||||
|
Loading…
x
Reference in New Issue
Block a user