diff --git a/core/auto_process/common.py b/core/auto_process/common.py index c083414c0..3ed77a2ef 100644 --- a/core/auto_process/common.py +++ b/core/auto_process/common.py @@ -45,7 +45,7 @@ def command_complete(url, params, headers, section): return None else: try: - return r.json()['state'] + return r.json()['status'] except (ValueError, KeyError): # ValueError catches simplejson's JSONDecodeError and json's ValueError logger.error('{0} did not return expected json data.'.format(section), section)