mirror of
https://github.com/SickGear/SickGear.git
synced 2025-03-15 09:07:43 +00:00
Fixed another bug in the cache searcher for NoneType indexerid
This commit is contained in:
parent
9d69e43378
commit
408ffa857a
1 changed files with 5 additions and 4 deletions
|
@ -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 a new issue