mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-22 06:13:19 -07:00
fix json load from Lidarr
This commit is contained in:
parent
fa24c5bf9d
commit
758df87bd3
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ def process(section, dir_name, input_name=None, status=0, client_agent='manual',
|
||||||
)
|
)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
res = json.loads(r.content)
|
res = r.json()
|
||||||
scan_id = int(res['id'])
|
scan_id = int(res['id'])
|
||||||
logger.debug('Scan started with id: {0}'.format(scan_id), section)
|
logger.debug('Scan started with id: {0}'.format(scan_id), section)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue