From bbd549db608f1af5cfbb4c978fd761bf5ea8bbb8 Mon Sep 17 00:00:00 2001 From: morpheus65535 Date: Sat, 23 Sep 2023 21:44:33 -0400 Subject: [PATCH] no log: fixed NoneType issue --- bazarr/subtitles/mass_download/movies.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bazarr/subtitles/mass_download/movies.py b/bazarr/subtitles/mass_download/movies.py index ed8fec2c1..9d7ea4e71 100644 --- a/bazarr/subtitles/mass_download/movies.py +++ b/bazarr/subtitles/mass_download/movies.py @@ -33,7 +33,7 @@ def movies_download_subtitles(no): TableMovies.monitored) .where(reduce(operator.and_, conditions))) \ .first() - if not len(movie): + if not movie: logging.debug("BAZARR no movie with that radarrId can be found in database:", str(no)) return