mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
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:
@ -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)
|
||||
|
Reference in New Issue
Block a user