no log: fixed NoneType issue

pull/2258/head
morpheus65535 1 year ago
parent 0ddadb273e
commit bbd549db60

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

Loading…
Cancel
Save