From fa24c5bf9d80ae79a01040041612de5ea4f49e3c Mon Sep 17 00:00:00 2001 From: Clinton Hall Date: Tue, 7 Jan 2020 20:12:43 +1300 Subject: [PATCH] Fix json load from Sonarr --- core/auto_process/tv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/auto_process/tv.py b/core/auto_process/tv.py index 57fe2a1e..4c6edfac 100644 --- a/core/auto_process/tv.py +++ b/core/auto_process/tv.py @@ -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