mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-12 11:02:21 -05:00
Fix for showobj none type
This commit is contained in:
parent
77bc5c7291
commit
e379d57376
@ -244,13 +244,16 @@ class TVCache():
|
||||
break
|
||||
|
||||
# if we didn't find a Indexer ID return None
|
||||
if indexer_id is None or indexer_id == None:
|
||||
if not indexer_id:
|
||||
return None
|
||||
|
||||
# if the show isn't in out database then return None
|
||||
try:showObj = helpers.findCertainShow(sickbeard.showList, indexer_id)
|
||||
except:return None
|
||||
|
||||
if not showObj:
|
||||
return None
|
||||
|
||||
# if we weren't provided with season/episode information then get it from the name that we parsed
|
||||
season = None
|
||||
episodes = None
|
||||
|
Loading…
Reference in New Issue
Block a user