From: Rob Golding Date: Wed, 10 Apr 2013 19:30:35 +0000 (+0100) Subject: Fix bug in get_tasks filtering X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/commitdiff_plain/98e53a455c258b0f8f660f0b11eeb9a510c0f79b?ds=sidebyside;hp=-c Fix bug in get_tasks filtering --- 98e53a455c258b0f8f660f0b11eeb9a510c0f79b 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()))