From 0e172acd4cebe7099afa35e9af727440e7f49b0b Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Thu, 24 Jan 2013 16:47:36 +0000 Subject: [PATCH] 6307: Use untranslated string in filter svn: r21215 --- gramps/plugins/gramplet/todogramplet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/plugins/gramplet/todogramplet.py b/gramps/plugins/gramplet/todogramplet.py index ae1e1f31c..42b84d88d 100644 --- a/gramps/plugins/gramplet/todogramplet.py +++ b/gramps/plugins/gramplet/todogramplet.py @@ -93,7 +93,7 @@ class ToDoGramplet(Gramplet): all_notes = self.dbstate.db.get_note_handles() FilterClass = GenericFilterFactory('Note') filter = FilterClass() - filter.add_rule(rules.note.HasType([_("To Do")])) + filter.add_rule(rules.note.HasType(["To Do"])) note_list = filter.apply(self.dbstate.db, all_notes) return note_list