1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-13 11:32:20 -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
(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