1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 11:02:21 -05:00
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: