get apikey from config

This commit is contained in:
Jason Mehring
2013-08-24 15:37:11 -04:00
parent 8139016636
commit 6f895c1805
@@ -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)