joukos / PaperTTY

PaperTTY - Python module to render a TTY or VNC on e-ink
946 stars 101 forks source link

Made imports of GPIO fail less disruptively on non-Pi systems. #62

Closed chi-lambda closed 4 years ago

chi-lambda commented 4 years ago

GPIO fails with RuntimeError if not running on a Raspberry Pi. However, it is not needed for Dummy and Bitmap drivers, so should not bring down the whole program.

joukos commented 4 years ago

Thanks, you're right. I'll merge this.