Skip to content

Commit 51d5747

Browse files
committed
dont use fstring
1 parent 1a3f81e commit 51d5747

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

adafruit_matrixportal/matrixportal.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,9 @@ def set_text_color(self, color, index=0):
260260
self._text[index].color = color
261261
else:
262262
raise IndexError(
263-
f"index {index} is out of bounds. Please call add_text() and set_text() first."
263+
"index {} is out of bounds. Please call add_text() and set_text() first.".format(
264+
index
265+
)
264266
)
265267

266268
def set_text(self, val, index=0):

0 commit comments

Comments
 (0)