From e9ac4a95bfab8a3e323e15f5f26a6302a87384a3 Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Sun, 9 Aug 2015 00:51:18 +0200 Subject: [PATCH 1/1] TaskQuerySet: Do not hardcode TaskWarriorFilter --- tasklib/task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasklib/task.py b/tasklib/task.py index 2b5ca69..e343583 100644 --- a/tasklib/task.py +++ b/tasklib/task.py @@ -427,7 +427,7 @@ class TaskQuerySet(object): def __init__(self, warrior=None, filter_obj=None): self.warrior = warrior self._result_cache = None - self.filter_obj = filter_obj or TaskWarriorFilter(warrior) + self.filter_obj = filter_obj or self.warrior.filter_class(warrior) def __deepcopy__(self, memo): """ -- 2.39.5