mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-23 01:43:43 +00:00
Fixed indexerid issue when searching SB for show ID
This commit is contained in:
parent
880e923714
commit
85679e99f1
1 changed files with 4 additions and 3 deletions
|
@ -975,6 +975,7 @@ def get_show_by_name(name, useIndexer=False):
|
||||||
dbResult = searchDBForShow(name)
|
dbResult = searchDBForShow(name)
|
||||||
if dbResult:
|
if dbResult:
|
||||||
foundResult = findCertainShow(sickbeard.showList, dbResult[1])
|
foundResult = findCertainShow(sickbeard.showList, dbResult[1])
|
||||||
|
if foundResult:
|
||||||
logger.log(
|
logger.log(
|
||||||
u"Database lookup found Indexer ID:" + str(
|
u"Database lookup found Indexer ID:" + str(
|
||||||
foundResult.indexerid) + ", using that for " + name, logger.DEBUG)
|
foundResult.indexerid) + ", using that for " + name, logger.DEBUG)
|
||||||
|
|
Loading…
Reference in a new issue