Merge pull request #126 from JRWR/patch-2
Fixed Render crashing main thread
This commit is contained in:
commit
65c2a45665
@ -341,7 +341,7 @@ gender[1]="girl"
|
||||
|
||||
rand=$[ $RANDOM % 2 ]
|
||||
|
||||
echo -e "[+] Congratz, it's a ${arr[$rand]} (⌐■_■)!"
|
||||
echo -e "[+] Congratz, it's a ${gender[$rand]} (⌐■_■)!"
|
||||
echo -e "[+] One more step: dd if=../${PWNI_OUTPUT} of=<PATH_TO_SDCARD> bs=4M status=progress"
|
||||
|
||||
if [ "${OPT_SPARSE}" -eq 1 ];
|
||||
|
@ -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