From 95e0f43bf5069194512ab687bead7b178306d3cf Mon Sep 17 00:00:00 2001 From: Paul Culley Date: Sat, 29 Apr 2017 21:51:24 -0500 Subject: [PATCH] bug 9564; fix exception on Event filter editor (#378) for 'Events occurring on a particular day of the week' filter --- gramps/gui/editors/filtereditor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gramps/gui/editors/filtereditor.py b/gramps/gui/editors/filtereditor.py index 96e921c72..192c53b1b 100644 --- a/gramps/gui/editors/filtereditor.py +++ b/gramps/gui/editors/filtereditor.py @@ -581,8 +581,8 @@ class EditRule(ManagedWindow): elif v == _('Day of Week:'): long_days = displayer.long_days days_of_week = long_days[2:] + long_days[1:2] - t = MyList(map(str, range(7)), days_of_week) - else: + t = MyList(list(map(str, range(7))), days_of_week) + else: t = MyEntry() t.set_hexpand(True) tlist.append(t)