Skip to content

Commit

Permalink
Fix json load from Sonarr
Browse files Browse the repository at this point in the history
  • Loading branch information
clinton-hall committed Jan 7, 2020
1 parent f2c07f3 commit fa24c5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/auto_process/tv.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ def process(section, dir_name, input_name=None, failed=False, client_agent='manu
time.sleep(60)
elif section == 'NzbDrone':
try:
res = json.loads(r.content)
res = r.json()
scan_id = int(res['id'])
logger.debug('Scan started with id: {0}'.format(scan_id), section)
started = True
Expand Down

1 comment on commit fa24c5b

@clinton-hall
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes #1696

Please sign in to comment.