forked from platypush/platypush
comment
This commit is contained in:
parent
bbb8bd9020
commit
94150436d7
1 changed files with 1 additions and 0 deletions
|
@ -59,6 +59,7 @@ def _init_plugin(plugin, reload=False):
|
|||
logging.warn('No such plugin: {}'.format(plugin))
|
||||
raise RuntimeError(e)
|
||||
|
||||
# e.g. plugins.music.mpd base class: MusicMpdPlugin
|
||||
cls_name = functools.reduce(
|
||||
lambda a,b: a.title() + b.title(),
|
||||
(plugin.title().split('.'))
|
||||
|
|
Loading…
Reference in a new issue