X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/blobdiff_plain/65e026e29cf14b9c8e314ae35be411c60ea18d92..252fcc58df50a2d70aaaaf90f119d7e76da78ce3:/tasklib/task.py diff --git a/tasklib/task.py b/tasklib/task.py index c34a104..4dab528 100644 --- a/tasklib/task.py +++ b/tasklib/task.py @@ -460,7 +460,8 @@ class Task(TaskResource): Exports current data contained in the Task as JSON """ - return json.dumps(self._data) + # We need to remove spaces for TW-1504, use custom separators + return json.dumps(self._data, separators=(',',':')) class TaskFilter(SerializingObject): """