Skip to content

Commit

Permalink
- typo fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
wrobell committed Nov 6, 2014
1 parent 4dcc097 commit 56adbaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/smemlcd-pil.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def center(draw, y, txt, font):
img = PIL.Image.new('1', (WIDTH, HEIGHT))
draw = PIL.ImageDraw.Draw(img)
if args.font:
font = PIL.ImageFont.truetype(args.font, size=30)
font = PIL.ImageFont.truetype(args.font[0], size=30)
else:
font = PIL.ImageFont.load_default()

Expand Down

0 comments on commit 56adbaf

Please sign in to comment.