Skip to content

Commit 6e57a8b

Browse files
committed
bitmap_font: Remove use of f-string, not compatible with 5.x mpy-cross
1 parent d379f19 commit 6e57a8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_bitmap_font/bitmap_font.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,4 @@ def load_font(filename, bitmap=None):
6565

6666
return ttf.TTF(font_file, bitmap)
6767

68-
raise ValueError(f"Unknown magic number {first_four}")
68+
raise ValueError("Unknown magic number %r" % first_four)

0 commit comments

Comments
 (0)