From 86cdc5630e69ae91c34e2a833bf0be020a144122 Mon Sep 17 00:00:00 2001 From: Ace Date: Tue, 19 Feb 2019 09:52:03 +0100 Subject: [PATCH] Fixed an big related to week starting on Sunday Removed line 82, starting with 'draw...' as it caused some errors. Choosing weekday="Sunday" should now work as expected. Special thanks to Nobuyoshi Sato for finding this bug. --- Calendar/E-Paper.py | 1 - 1 file changed, 1 deletion(-) diff --git a/Calendar/E-Paper.py b/Calendar/E-Paper.py index e02ab42..817f5b4 100644 --- a/Calendar/E-Paper.py +++ b/Calendar/E-Paper.py @@ -79,7 +79,6 @@ def main(): if (week_starts_on == "Sunday"): calendar.setfirstweekday(calendar.SUNDAY) - draw(weekplace, weeksun) image.paste(weeksun, weekplace) draw(weekdayssun[(time.strftime("%a"))], weekday)