From a10758cb58d167e4f733a7b52cf0aba0e07781f1 Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Sat, 3 Jan 2015 14:44:16 +0100 Subject: [PATCH] TaskFilter: Enclose values of filtered attributes in quotes --- tasklib/task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] -- 2.39.5