From 62c2ac7655eea28b39436bfdb590edbf8a2af322 Mon Sep 17 00:00:00 2001 From: Dennis Wambua Date: Thu, 16 Mar 2017 17:08:22 +0300 Subject: [PATCH] flake8 fix Signed-off-by: Dennis Wambua --- onadata/libs/utils/api_export_tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onadata/libs/utils/api_export_tools.py b/onadata/libs/utils/api_export_tools.py index f545726d86..bf20bc6752 100644 --- a/onadata/libs/utils/api_export_tools.py +++ b/onadata/libs/utils/api_export_tools.py @@ -481,7 +481,7 @@ def get_async_response(job_uuid, request, xform, count=0): else: resp = async_status(celery_state_to_status(job.state)) - # append task + # append task result to the response if job.result: resp.update(job.result) if isinstance(job.result, dict) else \ resp.update({'progress': str(job.result)})