mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 02:26:53 -07:00
parent
30a69d6e37
commit
213f1f6f10
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue