From cecd35bb5d9a6029ef63b265a9d6122578f6d291 Mon Sep 17 00:00:00 2001 From: echel0n Date: Sat, 3 May 2014 02:43:01 -0700 Subject: [PATCH] Fix for indexer being sent as unicode when its supposed to me integer --- sickbeard/scene_numbering.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sickbeard/scene_numbering.py b/sickbeard/scene_numbering.py index 2c791ada..ddfce930 100644 --- a/sickbeard/scene_numbering.py +++ b/sickbeard/scene_numbering.py @@ -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()