Skip to content

Commit a679094

Browse files
committed
Fix pylint errors
1 parent 6f19082 commit a679094

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

utils/font_to_bin.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1551,6 +1551,6 @@
15511551
# Write a byte each for the character width, character height.
15521552
outfile.write(bytes((WIDTH, HEIGHT)))
15531553
# Now write all of the font character bytes.
1554-
for str in FONT:
1555-
data = int(str.replace(".", "0").replace("#", "1"), 2)
1556-
outfile.write(data.to_bytes(1, "big"))
1554+
for string in FONT:
1555+
DATA = int(string.replace(".", "0").replace("#", "1"), 2)
1556+
outfile.write(DATA.to_bytes(1, "big"))

0 commit comments

Comments
 (0)