diff --git a/bazarr/radarr/sync/movies.py b/bazarr/radarr/sync/movies.py index 64b1384ff..56c9ad9f6 100644 --- a/bazarr/radarr/sync/movies.py +++ b/bazarr/radarr/sync/movies.py @@ -45,7 +45,7 @@ def update_movies(send_event=True): # Get movies data from radarr movies = get_movies_from_radarr_api(url=url_radarr(), apikey_radarr=apikey_radarr) - if not movies: + if not isinstance(movies, list): return else: # Get current movies in DB diff --git a/bazarr/sonarr/sync/series.py b/bazarr/sonarr/sync/series.py index 2e01c5a61..30a18f2f2 100644 --- a/bazarr/sonarr/sync/series.py +++ b/bazarr/sonarr/sync/series.py @@ -37,7 +37,7 @@ def update_series(send_event=True): # Get shows data from Sonarr series = get_series_from_sonarr_api(url=url_sonarr(), apikey_sonarr=apikey_sonarr) - if not series: + if not isinstance(series, list): return else: # Get current shows in DB