Merge pull request #170 from aceisace/hotfix/fix_calendar_module

Fix for KeyError: 31
This commit is contained in:
Ace 2021-02-02 23:56:38 +01:00 committed by GitHub
commit 34f530f2f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -258,6 +258,7 @@ class Calendar(inkycal_module):
# Draw a border with specified parameters around days with events # Draw a border with specified parameters around days with events
for days in days_with_events: for days in days_with_events:
if days in grid:
draw_border( draw_border(
im_colour, im_colour,
grid[days], grid[days],