1
0
Fork 0

plugin base: fix plugin name extraction

This commit is contained in:
Jan Vcelak 2013-01-24 13:34:41 +01:00
parent b1d9c9ec14
commit b49976b173

View file

@ -33,7 +33,7 @@ class Plugin(object):
@property
def name(self):
return self.__class__.__module__.split(".")[-1].lstrip("plugin_")
return self.__class__.__module__.split(".")[-1].split("_", 1)[1]
#
# Plugin configuration manipulation and helpers.