From 73b53d933f2285aaa2ecf1672be44eabf2979316 Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Sun, 9 Aug 2015 02:20:39 +0200 Subject: [PATCH 1/1] TaskWarrior: Default formatter needs to take an argument --- tasklib/backends.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasklib/backends.py b/tasklib/backends.py index adfb9a4..6bba35d 100644 --- a/tasklib/backends.py +++ b/tasklib/backends.py @@ -155,7 +155,7 @@ class TaskWarrior(object): else: escaped_serialized_value = six.u("'{0}'").format(serialized_value) - format_default = lambda: six.u("{0}:{1}").format(field, + format_default = lambda task: six.u("{0}:{1}").format(field, escaped_serialized_value) format_func = getattr(self, 'format_{0}'.format(field), -- 2.39.5