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:
		| @@ -79,7 +79,6 @@ def main(): | |||||||
|  |  | ||||||
|             if (week_starts_on == "Sunday"): |             if (week_starts_on == "Sunday"): | ||||||
|                 calendar.setfirstweekday(calendar.SUNDAY) |                 calendar.setfirstweekday(calendar.SUNDAY) | ||||||
|                 draw(weekplace, weeksun) |  | ||||||
|                 image.paste(weeksun, weekplace) |                 image.paste(weeksun, weekplace) | ||||||
|                 draw(weekdayssun[(time.strftime("%a"))], weekday) |                 draw(weekdayssun[(time.strftime("%a"))], weekday) | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user