From: Ross Lockwood <4527806+spincrisis@users.noreply.github.com> Date: Wed, 4 Mar 2020 15:30:18 +0000 (-0700) Subject: Fix launch bug in all-in-one-no-pm.py X-Git-Url: https://zdv2.bktei.com/gitweb/EVA-2020-02-2.git/commitdiff_plain/bde3840195e7b9c8b32759a2b801e6d31263218f?ds=sidebyside;hp=--cc 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. --- bde3840195e7b9c8b32759a2b801e6d31263218f 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 = ""