This commit is contained in:
Fabio Manganiello 2017-11-03 04:36:24 +01:00
parent 94150436d7
commit aa52872485

View file

@ -59,7 +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
# e.g. plugins.music.mpd main class: MusicMpdPlugin
cls_name = functools.reduce(
lambda a,b: a.title() + b.title(),
(plugin.title().split('.'))