mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +00:00
Merge pull request #267 from jValdron/post-process-nonetype
Fixed 'NoneType' object has no attribute 'status' error
This commit is contained in:
commit
75a1e0970a
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue