This commit is contained in:
echel0n 2014-05-03 03:48:06 -07:00
parent 9fc07617f1
commit 6a3ff97cec

View file

@ -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: