From 9b9ba2a20409486e6645e0429220447f84199cc7 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sat, 30 Mar 2013 16:38:37 +0100 Subject: show active addons --- module/plugins/Base.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'module/plugins') diff --git a/module/plugins/Base.py b/module/plugins/Base.py index 70805b7f3..b96275db2 100644 --- a/module/plugins/Base.py +++ b/module/plugins/Base.py @@ -140,6 +140,10 @@ class Base(object): getattr(self.log, level)("%s: %s" % (self.__name__, sep.join(strings))) + def getName(self): + """ Name of the plugin class """ + return self.__name__ + def setConfig(self, option, value): """ Set config value for current plugin """ self.core.config.set(self.__name__, option, value) -- cgit v1.2.3