mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +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,9 +975,10 @@ def get_show_by_name(name, useIndexer=False):
|
|||
dbResult = searchDBForShow(name)
|
||||
if dbResult:
|
||||
foundResult = findCertainShow(sickbeard.showList, dbResult[1])
|
||||
logger.log(
|
||||
u"Database lookup found Indexer ID:" + str(
|
||||
foundResult.indexerid) + ", using that for " + name, logger.DEBUG)
|
||||
if foundResult:
|
||||
logger.log(
|
||||
u"Database lookup found Indexer ID:" + str(
|
||||
foundResult.indexerid) + ", using that for " + name, logger.DEBUG)
|
||||
|
||||
if not foundResult and useIndexer:
|
||||
logger.log(
|
||||
|
|
Loading…
Reference in a new issue