no log: fixed NoneType issue

This commit is contained in:
morpheus65535 2023-09-23 21:44:33 -04:00
parent 0ddadb273e
commit bbd549db60
1 changed files with 1 additions and 1 deletions

View File

@ -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