mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-22 06:13:19 -07:00
Fix json load from Sonarr
This commit is contained in:
parent
f2c07f3c38
commit
fa24c5bf9d
1 changed files with 1 additions and 1 deletions
|
@ -343,7 +343,7 @@ def process(section, dir_name, input_name=None, failed=False, client_agent='manu
|
||||||
time.sleep(60)
|
time.sleep(60)
|
||||||
elif section == 'NzbDrone':
|
elif section == 'NzbDrone':
|
||||||
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)
|
||||||
started = True
|
started = True
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue