mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-22 01:23:43 +00:00
Fixed NoneType error when mapping indexers to show
This commit is contained in:
parent
3592e559d0
commit
c658fe0f26
1 changed files with 1380 additions and 1380 deletions
|
@ -1179,9 +1179,9 @@ def mapIndexersToShow(showObj):
|
|||
except sickbeard.indexer_shownotfound:
|
||||
logger.log(u"Unable to map " + sickbeard.indexerApi(showObj.indexer).name + "->" + sickbeard.indexerApi(
|
||||
indexer).name + " for show: " + showObj.name + ", skipping it", logger.DEBUG)
|
||||
mapped_show = None
|
||||
continue
|
||||
|
||||
if len(mapped_show) and not len(mapped_show) > 1:
|
||||
if mapped_show and len(mapped_show) == 1:
|
||||
logger.log(u"Mapping " + sickbeard.indexerApi(showObj.indexer).name + "->" + sickbeard.indexerApi(
|
||||
indexer).name + " for show: " + showObj.name, logger.DEBUG)
|
||||
|
||||
|
|
Loading…
Reference in a new issue