mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 10:36:52 -07:00
fix return for incorrect command.
This commit is contained in:
parent
a233db0024
commit
4facc36e3f
1 changed files with 3 additions and 0 deletions
|
@ -21,6 +21,9 @@ def api_check(r, params, rem_params):
|
|||
logger.debug('Response received')
|
||||
raise
|
||||
|
||||
if isinstance(json_data, str):
|
||||
return rem_params, False
|
||||
|
||||
try:
|
||||
json_data = json_data['data']
|
||||
except KeyError:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue