summaryrefslogtreecommitdiffhomepage
path: root/bazarr/sonarr/sync/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'bazarr/sonarr/sync/utils.py')
-rw-r--r--bazarr/sonarr/sync/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bazarr/sonarr/sync/utils.py b/bazarr/sonarr/sync/utils.py
index e03f40ff3..13f00b61a 100644
--- a/bazarr/sonarr/sync/utils.py
+++ b/bazarr/sonarr/sync/utils.py
@@ -93,7 +93,7 @@ def get_series_from_sonarr_api(url, apikey_sonarr, sonarr_series_id=None):
else:
result = r.json()
if isinstance(result, dict):
- return list(result)
+ return [result]
else:
return r.json()