From 6f895c18059b1faef29ac474abba4d65fbded23a Mon Sep 17 00:00:00 2001 From: Jason Mehring Date: Sat, 24 Aug 2013 15:37:11 -0400 Subject: [PATCH] get apikey from config --- couchpotato/core/providers/show/thetvdb/main.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/couchpotato/core/providers/show/thetvdb/main.py b/couchpotato/core/providers/show/thetvdb/main.py index 61ecd6b..767fb7f 100644 --- a/couchpotato/core/providers/show/thetvdb/main.py +++ b/couchpotato/core/providers/show/thetvdb/main.py @@ -26,10 +26,9 @@ class TheTVDb(ShowProvider): addEvent('episode.info', self.getEpisodeInfo, priority = 1) #addEvent('show.info_by_thetvdb', self.getInfoByTheTVDBId) - # XXX: Load from somewhere else tvdb_api_parms = { - 'apikey':"7966C02F860586D2", - 'banners':True + 'apikey' : self.conf('api_key'), + 'banners' : True } self.tvdb = tvdb_api.Tvdb(**tvdb_api_parms)