get apikey from config
This commit is contained in:
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)
|
||||||
|
|||||||
Reference in new issue
Block a user