From ce768f45c51267f48ba40202ec60cf36db4195cc Mon Sep 17 00:00:00 2001 From: Ruud Date: Tue, 10 Feb 2015 14:36:54 +0100 Subject: [PATCH] Make RottenTomato logging more clear close #4618 --- .../core/media/movie/providers/automation/rottentomatoes.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/couchpotato/core/media/movie/providers/automation/rottentomatoes.py b/couchpotato/core/media/movie/providers/automation/rottentomatoes.py index a01f76d2..65d54f13 100644 --- a/couchpotato/core/media/movie/providers/automation/rottentomatoes.py +++ b/couchpotato/core/media/movie/providers/automation/rottentomatoes.py @@ -39,15 +39,14 @@ class Rottentomatoes(Automation, RSS): if result: - log.info2('Something smells...') rating = tryInt(self.getTextElement(movie, rating_tag)) name = result.group(0) + print rating, tryInt(self.conf('tomatometer_percent')) if rating < tryInt(self.conf('tomatometer_percent')): log.info2('%s seems to be rotten...', name) else: - - log.info2('Found %s fresh enough movies, enqueuing: %s', (rating, name)) + log.info2('Found %s with fresh rating %s', (name, rating)) year = datetime.datetime.now().strftime("%Y") imdb = self.search(name, year)