joukos / PaperTTY

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

vcom fix #110

Closed mcarr823 closed 10 months ago

mcarr823 commented 10 months ago

This fixes a bug with the recently merged --vcom flag.

The problem is that self.vcom in papertty.py is initialized as None by default, so it gets passed through as None to the above command if it isn't specified, or if using a mode other than terminal. It is now checked in the driver to make sure it's set.