Merge pull request #54 from spincrisis/patch-1
authorPhilip Howard <phil@pimoroni.com>
Wed, 4 Mar 2020 19:54:31 +0000 (19:54 +0000)
committerGitHub <noreply@github.com>
Wed, 4 Mar 2020 19:54:31 +0000 (19:54 +0000)
Fix launch bug in all-in-one-no-pm.py

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

index db1ca8c9e32f62ffb613b2a12eaf77b05a9e517f..d9b1069cf6ab67a9439df7fb3a5f994f55d217b2 100755 (executable)
@@ -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 = ""