Fixed plugin name

This commit is contained in:
Fabio Manganiello 2017-12-18 01:25:30 +01:00
parent 4a04e51da7
commit 93be9e3912

View file

@ -76,8 +76,7 @@ class Config(object):
self.plugins = {}
for key in self._config.keys():
if key.startswith('backend.'): continue
plugin_name = '.'.join(key.split('.')[1:])
self.plugins[plugin_name] = self._config[key]
self.plugins[key] = self._config[key]
@staticmethod
def get_backends():