Fixed indexerid issue when searching SB for show ID

This commit is contained in:
echel0n 2014-04-30 18:34:05 -07:00
parent 880e923714
commit 85679e99f1

View file

@ -975,6 +975,7 @@ def get_show_by_name(name, useIndexer=False):
dbResult = searchDBForShow(name)
if dbResult:
foundResult = findCertainShow(sickbeard.showList, dbResult[1])
if foundResult:
logger.log(
u"Database lookup found Indexer ID:" + str(
foundResult.indexerid) + ", using that for " + name, logger.DEBUG)