added continue #102

pull/103/head
meisnate12 4 years ago
parent 24401def89
commit eafd51e5f2

@ -62,10 +62,11 @@ class LetterboxdAPI:
if not tmdb_id or expired is not False:
try:
tmdb_id = self.get_tmdb_from_slug(item[1], language)
if self.Cache:
self.Cache.update_letterboxd(expired, item[0], tmdb_id)
except Failed as e:
logger.error(e)
continue
if self.Cache:
self.Cache.update_letterboxd(expired, item[0], tmdb_id)
movie_ids.append(tmdb_id)
util.print_end(length, f"Processed {total_items} TMDb IDs")
if status_message:

Loading…
Cancel
Save