Post processing bug fixed, forgot to set out indexer api parms after correctly setting the indexer based on values from DB when performing automatic post processing lookups

This commit is contained in:
echel0n 2014-03-10 05:58:42 -07:00
parent 581c4daca2
commit fddee6d687
1 changed files with 4 additions and 0 deletions

View File

@ -602,7 +602,11 @@ class PostProcessor(object):
try:
showObj = helpers.findCertainShow(sickbeard.showList, indexer_id)
if(showObj != None):
# correct the indexer with the proper one linked to the show
self.indexer = showObj.indexer
sickbeard.INDEXER_API_PARMS['indexer'] = self.indexer
# set the language of the show
indexer_lang = showObj.lang
except exceptions.MultipleShowObjectsException:
raise #TODO: later I'll just log this, for now I want to know about it ASAP