1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-14 12:02:21 -05:00

Merge pull request #267 from jValdron/post-process-nonetype

Fixed 'NoneType' object has no attribute 'status' error
This commit is contained in:
echel0n 2014-04-30 18:48:48 -07:00
commit 75a1e0970a

View File

@ -816,8 +816,8 @@ class PostProcessor(object):
# try to find the file info # try to find the file info
(indexer_id, season, episodes) = self._find_info() (indexer_id, season, episodes) = self._find_info()
if not (indexer_id or season or episodes): if not (indexer_id and season and len(episodes)):
self._log(u"Can't find thhe show on any of the Indexers, skipping", self._log(u"Can't find the show on any of the Indexers, skipping",
logger.WARNING) logger.WARNING)
return False return False