get apikey from config

This commit is contained in:
Jason Mehring committed 2013-08-24 15:37:11 -04:00
1 parent 8139016636
commit 6f895c1805
1 file changed
+2 -3
@@ -26,10 +26,9 @@ class TheTVDb(ShowProvider):
addEvent('episode.info', self.getEpisodeInfo, priority = 1) addEvent('episode.info', self.getEpisodeInfo, priority = 1)
#addEvent('show.info_by_thetvdb', self.getInfoByTheTVDBId) #addEvent('show.info_by_thetvdb', self.getInfoByTheTVDBId)
# XXX: Load from somewhere else
tvdb_api_parms = { tvdb_api_parms = {
'apikey':"7966C02F860586D2", 'apikey' : self.conf('api_key'),
'banners':True 'banners' : True
} }
self.tvdb = tvdb_api.Tvdb(**tvdb_api_parms) self.tvdb = tvdb_api.Tvdb(**tvdb_api_parms)