From 758df87bd3c824c4153b4326130e9465a880e3b0 Mon Sep 17 00:00:00 2001 From: Clinton Hall Date: Tue, 7 Jan 2020 20:15:39 +1300 Subject: [PATCH] fix json load from Lidarr --- core/auto_process/music.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/auto_process/music.py b/core/auto_process/music.py index e72d9b8c..af3bb166 100644 --- a/core/auto_process/music.py +++ b/core/auto_process/music.py @@ -125,7 +125,7 @@ def process(section, dir_name, input_name=None, status=0, client_agent='manual', ) 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) except Exception as e: