Skip to content

Commit d379f19

Browse files
committed
pcf: Remove use of f-string, not compatible with 5.x mpy-cross
1 parent 383fc03 commit d379f19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_bitmap_font/pcf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def __init__(self, f, bitmap_class):
123123

124124
bitmap_format = self.tables[_PCF_BITMAPS].format
125125
if bitmap_format != 0xE:
126-
raise NotImplementedError(f"Unsupported format_ {bitmap_format:x}")
126+
raise NotImplementedError("Unsupported format %s" % bitmap_format)
127127

128128
self._accel = self._read_accelerator_tables()
129129
self._encoding = self._read_encoding_table()

0 commit comments

Comments
 (0)