diff --git a/sickbeard/indexers/indexer_api.py b/sickbeard/indexers/indexer_api.py index 89f82e2b..7d36d288 100644 --- a/sickbeard/indexers/indexer_api.py +++ b/sickbeard/indexers/indexer_api.py @@ -23,7 +23,7 @@ from indexer_config import initConfig, indexerConfig class indexerApi(object): def __init__(self, indexerID=None): - self.indexerID = int(str(indexerID).encode("UTF-8")) + self.indexerID = int(indexerID) if indexerID else None def indexer(self, *args, **kwargs): if self.indexerID: