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