forked from platypush/platypush
Fixed plugin name
This commit is contained in:
parent
4a04e51da7
commit
93be9e3912
1 changed files with 1 additions and 2 deletions
|
@ -76,8 +76,7 @@ class Config(object):
|
||||||
self.plugins = {}
|
self.plugins = {}
|
||||||
for key in self._config.keys():
|
for key in self._config.keys():
|
||||||
if key.startswith('backend.'): continue
|
if key.startswith('backend.'): continue
|
||||||
plugin_name = '.'.join(key.split('.')[1:])
|
self.plugins[key] = self._config[key]
|
||||||
self.plugins[plugin_name] = self._config[key]
|
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get_backends():
|
def get_backends():
|
||||||
|
|
Loading…
Reference in a new issue