Skip to content

Commit

Permalink
flake8 fix
Browse files Browse the repository at this point in the history
Signed-off-by: Dennis Wambua <[email protected]>
  • Loading branch information
denniswambua committed Mar 16, 2017
1 parent 8c23d69 commit 62c2ac7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onadata/libs/utils/api_export_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)})
Expand Down

0 comments on commit 62c2ac7

Please sign in to comment.