mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-08 11:03:38 +00:00
Test fix #1
This commit is contained in:
parent
9fc07617f1
commit
6a3ff97cec
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ from indexer_config import initConfig, indexerConfig
|
||||||
|
|
||||||
class indexerApi(object):
|
class indexerApi(object):
|
||||||
def __init__(self, indexerID=None):
|
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):
|
def indexer(self, *args, **kwargs):
|
||||||
if self.indexerID:
|
if self.indexerID:
|
||||||
|
|
Loading…
Reference in a new issue