From bde3840195e7b9c8b32759a2b801e6d31263218f Mon Sep 17 00:00:00 2001 From: Ross Lockwood <4527806+spincrisis@users.noreply.github.com> Date: Wed, 4 Mar 2020 08:30:18 -0700 Subject: [PATCH] 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. --- examples/all-in-one-no-pm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/all-in-one-no-pm.py b/examples/all-in-one-no-pm.py index db1ca8c..d9b1069 100755 --- a/examples/all-in-one-no-pm.py +++ b/examples/all-in-one-no-pm.py @@ -54,7 +54,7 @@ img = Image.new('RGB', (WIDTH, HEIGHT), color=(0, 0, 0)) draw = ImageDraw.Draw(img) path = os.path.dirname(os.path.realpath(__file__)) font_size = 20 -font = ImageFont.truetype(UserFont, FontSize) +font = ImageFont.truetype(UserFont, font_size) message = "" -- 2.30.2