diff --git a/scripts/create_sibling.sh b/scripts/create_sibling.sh index f2f5c5f..b7cbbeb 100755 --- a/scripts/create_sibling.sh +++ b/scripts/create_sibling.sh @@ -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 ]; diff --git a/sdcard/rootfs/root/pwnagotchi/scripts/pwnagotchi/ui/display.py b/sdcard/rootfs/root/pwnagotchi/scripts/pwnagotchi/ui/display.py index ed6b188..76e9a24 100644 --- a/sdcard/rootfs/root/pwnagotchi/scripts/pwnagotchi/ui/display.py +++ b/sdcard/rootfs/root/pwnagotchi/scripts/pwnagotchi/ui/display.py @@ -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)