From 93cb85be3dad47312ed848b291a29026d8b0da26 Mon Sep 17 00:00:00 2001 From: SNoiraud Date: Fri, 8 Apr 2016 17:25:10 +0200 Subject: [PATCH] 9363: Creation of the "graphic calendar report" failed --- gramps/plugins/drawreport/calendarreport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/plugins/drawreport/calendarreport.py b/gramps/plugins/drawreport/calendarreport.py index 0987bf45b..1baf5fe9b 100644 --- a/gramps/plugins/drawreport/calendarreport.py +++ b/gramps/plugins/drawreport/calendarreport.py @@ -270,7 +270,7 @@ class Calendar(Report): day_col * cell_width + cell_width/2, header + week_row * cell_height) list_ = self.calendar.get(month, {}).get(thisday.day, []) - list_.sort() # to get CAL-Holiday on bottom + list_.sort(key= lambda a: a[0], reverse=True) # to get CAL-Holiday on bottom position = spacing for (format, p, m_list) in list_: for line in reversed(p.split("\n")):