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.
This commit is contained in:
Ace 2019-02-19 09:52:03 +01:00 committed by GitHub
parent ede448c7c1
commit 86cdc5630e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)