mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-13 11:32:20 -05:00
Fixed another bug in the cache searcher for NoneType indexerid
This commit is contained in:
parent
9d69e43378
commit
408ffa857a
@ -950,10 +950,11 @@ def get_show_by_name(name, useIndexer=False):
|
|||||||
if cacheResult:
|
if cacheResult:
|
||||||
in_cache = True
|
in_cache = True
|
||||||
foundResult = findCertainShow(sickbeard.showList, cacheResult)
|
foundResult = findCertainShow(sickbeard.showList, cacheResult)
|
||||||
logger.log(
|
if foundResult:
|
||||||
u"Cache lookup found Indexer ID:" + repr(
|
logger.log(
|
||||||
foundResult.indexerid) + ", using that for " + name,
|
u"Cache lookup found Indexer ID:" + repr(
|
||||||
logger.DEBUG)
|
foundResult.indexerid) + ", using that for " + name,
|
||||||
|
logger.DEBUG)
|
||||||
|
|
||||||
if not foundResult:
|
if not foundResult:
|
||||||
logger.log(
|
logger.log(
|
||||||
|
Loading…
Reference in New Issue
Block a user