Commit 6408ee56 authored by MinchinWeb's avatar MinchinWeb

Remove unused variable from HiddenTagFilter

parent c8c1804b
......@@ -114,7 +114,7 @@ class ListCommand(ExpressionCommand):
filters.append(InstanceFilter(todos))
if not self.show_all:
filters.append(HiddenTagFilter(self.todolist))
filters.append(HiddenTagFilter())
return filters
......
......@@ -156,14 +156,13 @@ class InstanceFilter(Filter):
class HiddenTagFilter(Filter):
def __init__(self, p_todos):
def __init__(self):
"""
Constructor.
A filter which hides items marked with the approriate tag.
"""
super().__init__()
self.todos = p_todos
def match(self, p_todo):
"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment