show_filtered fix

pull/30/head
meisnate12 4 years ago
parent 83ce2711cf
commit 7ae3eec54e

@ -975,8 +975,8 @@ class Config:
for missing_id in missing_movies: for missing_id in missing_movies:
try: try:
movie = self.TMDb.get_movie(missing_id) movie = self.TMDb.get_movie(missing_id)
title = str(movie.title)
if not_lang is None or (not_lang is True and movie.original_language not in terms) or (not_lang is False and movie.original_language in terms): if not_lang is None or (not_lang is True and movie.original_language not in terms) or (not_lang is False and movie.original_language in terms):
title = str(movie.title)
missing_movies_with_names.append((title, missing_id)) missing_movies_with_names.append((title, missing_id))
logger.info("{} Collection | ? | {} (TMDb: {})".format(collection_name, title, missing_id)) logger.info("{} Collection | ? | {} (TMDb: {})".format(collection_name, title, missing_id))
elif show_filtered is True: elif show_filtered is True:

Loading…
Cancel
Save