mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-13 11:32:20 -05:00
Fix for issues getting indexerID during cache updates
This commit is contained in:
parent
96a2c047a0
commit
dbee4b6dbf
@ -275,7 +275,11 @@ class TVCache():
|
|||||||
logger.log(
|
logger.log(
|
||||||
u"Checking Indexers for Indexer ID of " + parse_result.series_name,
|
u"Checking Indexers for Indexer ID of " + parse_result.series_name,
|
||||||
logger.DEBUG)
|
logger.DEBUG)
|
||||||
indexerResult = helpers.searchIndexerForShowID(parse_result.series_name)
|
|
||||||
|
# check indexers
|
||||||
|
try:indexerResult = helpers.searchIndexerForShowID(parse_result.series_name)
|
||||||
|
except:indexerResult = None
|
||||||
|
|
||||||
if indexerResult:
|
if indexerResult:
|
||||||
logger.log(
|
logger.log(
|
||||||
u"" + str(parse_result.series_name) + " was found on " + str(sickbeard.indexerApi(indexerResult[0]).name) + " with Indexer ID: " + str(indexerResult[1]), logger.DEBUG)
|
u"" + str(parse_result.series_name) + " was found on " + str(sickbeard.indexerApi(indexerResult[0]).name) + " with Indexer ID: " + str(indexerResult[1]), logger.DEBUG)
|
||||||
|
Loading…
Reference in New Issue
Block a user