summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormorpheus65535 <[email protected]>2023-09-23 21:44:33 -0400
committermorpheus65535 <[email protected]>2023-09-23 21:44:33 -0400
commitbbd549db608f1af5cfbb4c978fd761bf5ea8bbb8 (patch)
tree9488e85e2792680146b801064d1c199cd6dad521
parent0ddadb273e8671e183a2d37cd5fc3054b9adbccc (diff)
downloadbazarr-bbd549db608f1af5cfbb4c978fd761bf5ea8bbb8.tar.gz
bazarr-bbd549db608f1af5cfbb4c978fd761bf5ea8bbb8.zip
no log: fixed NoneType issue
-rw-r--r--bazarr/subtitles/mass_download/movies.py2
1 files changed, 1 insertions, 1 deletions
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