add logging when no rating available

This commit is contained in:
Clinton Hall
2013-06-11 21:51:56 +09:30
parent e1bc223de0
commit d5b4da655a

View File

@@ -51,6 +51,7 @@ class Automation(Provider):
def isMinimalMovie(self, movie):
if not movie.get('rating'):
log.info('ignoring %s as no rating is available for.', (movie['original_title']))
return False
if movie['rating'] and movie['rating'].get('imdb'):