1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 19:12:26 -05:00

Fixed another bug in the cache searcher for NoneType indexerid

This commit is contained in:
echel0n 2014-04-30 19:04:34 -07:00
parent 9d69e43378
commit 408ffa857a

View File

@ -950,10 +950,11 @@ def get_show_by_name(name, useIndexer=False):
if cacheResult:
in_cache = True
foundResult = findCertainShow(sickbeard.showList, cacheResult)
logger.log(
u"Cache lookup found Indexer ID:" + repr(
foundResult.indexerid) + ", using that for " + name,
logger.DEBUG)
if foundResult:
logger.log(
u"Cache lookup found Indexer ID:" + repr(
foundResult.indexerid) + ", using that for " + name,
logger.DEBUG)
if not foundResult:
logger.log(