Skip to content

Commit bde3840

Browse files
authored
Fix launch bug in all-in-one-no-pm.py
Launching all-in-one-no-pm.py results in an error due to line 57. FontSize should be replaced with the variable font_size, to run line 57 without error.
1 parent 0b149bf commit bde3840

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/all-in-one-no-pm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
draw = ImageDraw.Draw(img)
5555
path = os.path.dirname(os.path.realpath(__file__))
5656
font_size = 20
57-
font = ImageFont.truetype(UserFont, FontSize)
57+
font = ImageFont.truetype(UserFont, font_size)
5858

5959
message = ""
6060

0 commit comments

Comments
 (0)