Fixed an issue with font

Somewhere along the updates, the font-defining line went missing. This has now been fixed.
This commit is contained in:
Ace 2018-12-03 16:16:42 +01:00 committed by GitHub
parent 23c682821c
commit ed31c59b12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,6 +31,7 @@ if display_colours == "bw":
epd = epd7in5.EPD()
from calibration_bw import calibration
font = ImageFont.truetype(path+'Assistant-Bold.ttf', 18)
c = Calendar(urlopen(url).read().decode('UTF-8'))
e = Event()
EPD_WIDTH = 640