diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2020-09-04 22:09:00 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2020-09-04 22:14:06 -0400 |
commit | d69a496b83b2507d40d1bc5f1738a3fd5b2147c3 (patch) | |
tree | d52ab5e03ba590ea8f66de2f9b3dacefb3cd3016 /klippy/extras | |
parent | c3e9999e0c965973c8aa4cc3225b677718613b8a (diff) | |
download | kutter-d69a496b83b2507d40d1bc5f1738a3fd5b2147c3.tar.gz kutter-d69a496b83b2507d40d1bc5f1738a3fd5b2147c3.tar.xz kutter-d69a496b83b2507d40d1bc5f1738a3fd5b2147c3.zip |
hd44780: Improve Python3 compatibility
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/extras')
-rw-r--r-- | klippy/extras/display/hd44780.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/extras/display/hd44780.py b/klippy/extras/display/hd44780.py index 7c2477cb..a868a736 100644 --- a/klippy/extras/display/hd44780.py +++ b/klippy/extras/display/hd44780.py @@ -103,7 +103,7 @@ class HD44780: data = self.icons.get(glyph_name) if data is not None: slot, bits = data - self.write_text(x, y, chr(slot)) + self.write_text(x, y, [slot]) self.glyph_framebuffer[slot * 8:(slot + 1) * 8] = bits return 1 char = TextGlyphs.get(glyph_name) |