From: Tomas Babej Date: Sat, 3 Jan 2015 13:44:16 +0000 (+0100) Subject: TaskFilter: Enclose values of filtered attributes in quotes X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/commitdiff_plain/a10758cb58d167e4f733a7b52cf0aba0e07781f1?ds=sidebyside TaskFilter: Enclose values of filtered attributes in quotes --- diff --git a/tasklib/task.py b/tasklib/task.py index 1b337ba..004ed90 100644 --- a/tasklib/task.py +++ b/tasklib/task.py @@ -433,7 +433,7 @@ class TaskFilter(SerializingObject): if key == 'uuid': self.filter_params.insert(0, value) else: - self.filter_params.append('{0}:{1}'.format(key, value)) + self.filter_params.append("{0}:'{1}'".format(key, value)) def get_filter_params(self): return [f for f in self.filter_params if f]