PyDevices / pydisplay

Display, touch and encoder drivers for MicroPython, CircuitPython and Python
Other
34 stars 9 forks source link

Fixing string interpolation for MicroPython #16

Closed tdhoward closed 1 month ago

tdhoward commented 2 months ago

Not sure why, but the nested string interpolation was causing a syntax error on MicroPython.

bdbarnett commented 1 month ago

@tdhoward I agree. The code worked under Python but not under MicroPython. I do most of my development under Python because error messages are more verbose.

By the way, as you discovered, I'm playing around with the idea of creating themes based on Material Design themes. I haven't gotten very far with it and may not get back to it for a bit, but we've got a start.

Thanks for the fix!