From 4cd67aa6ec53262c612abd0fc5ba849f594c7869 Mon Sep 17 00:00:00 2001 From: Jason Valdron Date: Wed, 30 Apr 2014 19:26:39 -0300 Subject: [PATCH] fixed post-processing uncaught exception --- sickbeard/postProcessor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sickbeard/postProcessor.py b/sickbeard/postProcessor.py index 8c729293..1f1e0076 100644 --- a/sickbeard/postProcessor.py +++ b/sickbeard/postProcessor.py @@ -816,8 +816,8 @@ class PostProcessor(object): # try to find the file info (indexer_id, season, episodes) = self._find_info() - if not (indexer_id or season or episodes): - self._log(u"Can't find thhe show on any of the Indexers, skipping", + if not (indexer_id and season and len(episodes)): + self._log(u"Can't find the show on any of the Indexers, skipping", logger.WARNING) return False