fixed a typo leading to doubled events
This commit is contained in:
		| @@ -174,7 +174,7 @@ def main(): | |||||||
|             elist = [] |             elist = [] | ||||||
|             eventstoday = [] |             eventstoday = [] | ||||||
|             for events in c.events: |             for events in c.events: | ||||||
|                 if time.year <= int((events.begin).format('YYYY')): |                 if time.year == int((events.begin).format('YYYY')): | ||||||
|                     if time.month == int((events.begin).format('M')): |                     if time.month == int((events.begin).format('M')): | ||||||
|                         elist.append(int((events.begin).format('D'))) |                         elist.append(int((events.begin).format('D'))) | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user