From 69691f9d417f3cdf418dd9d1b0c9fd6062ba8c4f Mon Sep 17 00:00:00 2001 From: echel0n Date: Thu, 27 Mar 2014 18:22:32 -0700 Subject: [PATCH] Fix for issue #17 --- sickbeard/indexers/indexer_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sickbeard/indexers/indexer_api.py b/sickbeard/indexers/indexer_api.py index 559960d2..e438c721 100644 --- a/sickbeard/indexers/indexer_api.py +++ b/sickbeard/indexers/indexer_api.py @@ -54,4 +54,4 @@ class indexerApi(object): @property def indexers(self): - return {k: v if k is 'id' else v['name'] for k, v in indexerConfig.items()} \ No newline at end of file + return dict({x['id'], x['name']} for x in indexerConfig.values()) \ No newline at end of file