From 98e53a455c258b0f8f660f0b11eeb9a510c0f79b Mon Sep 17 00:00:00 2001 From: Rob Golding Date: Wed, 10 Apr 2013 20:30:35 +0100 Subject: [PATCH] Fix bug in get_tasks filtering --- tasklib/task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasklib/task.py b/tasklib/task.py index 5e2b71b..a220264 100644 --- a/tasklib/task.py +++ b/tasklib/task.py @@ -81,7 +81,7 @@ class TaskWarrior(object): return '{0}:{1}'.format(key, val) def get_tasks(self, **filter_kwargs): - filters = self.DEFAULT_FILTERS + filters = dict(self.DEFAULT_FILTERS) filters.update(filter_kwargs) filter_commands = ' '.join(map(self._format_filter_kwarg, filters.items())) -- 2.39.5