From 5be3707c0fde16653b36d59d4f393c62dee31cbc Mon Sep 17 00:00:00 2001 From: Sean Corrigan Date: Fri, 13 Nov 2020 16:59:08 -0500 Subject: [PATCH] fixed loc of font --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 25ecb8e..9043f97 100644 --- a/main.py +++ b/main.py @@ -52,7 +52,7 @@ try: print("Show time") epd.init(epd.PART_UPDATE) epd.Clear(0xFF) - font24 = ImageFont.truetype('/usr/share/fonts/truetype/wqy/wqy-microhei.ttc', 24) + font24 = ImageFont.truetype('wqy-microhei.ttc', 24) time_image = Image.new('1', (epd2in13.EPD_HEIGHT, epd2in13.EPD_WIDTH), 255) time_draw = ImageDraw.Draw(time_image) while (True):