1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-11-18 07:15:13 -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,6 +950,7 @@ 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)
if foundResult:
logger.log( logger.log(
u"Cache lookup found Indexer ID:" + repr( u"Cache lookup found Indexer ID:" + repr(
foundResult.indexerid) + ", using that for " + name, foundResult.indexerid) + ", using that for " + name,