mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-03 18:03:37 +00:00
Fix for indexer being sent as unicode when its supposed to me integer
This commit is contained in:
parent
48462f4baa
commit
cecd35bb5d
1 changed files with 1 additions and 1 deletions
|
@ -230,7 +230,7 @@ def _xem_refresh(indexer_id, indexer):
|
|||
|
||||
try:
|
||||
logger.log(
|
||||
u'Looking up XEM scene mapping for show %s on %s' % (indexer_id, sickbeard.indexerApi(indexer).name,),
|
||||
u'Looking up XEM scene mapping for show %s on %s' % (indexer_id, sickbeard.indexerApi(int(indexer)).name,),
|
||||
logger.DEBUG)
|
||||
data = requests.get("http://thexem.de/map/all?id=%s&origin=%s&destination=scene" % (
|
||||
indexer_id, sickbeard.indexerApi(indexer).config['xem_origin'],), verify=False).json()
|
||||
|
|
Loading…
Reference in a new issue