summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-03-30 16:38:37 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-03-30 16:38:37 +0100
commit9b9ba2a20409486e6645e0429220447f84199cc7 (patch)
tree0848626e95da6cb850819ded944ef1220f76f42e /module/plugins
parentplugin chooser for settings (diff)
downloadpyload-9b9ba2a20409486e6645e0429220447f84199cc7.tar.xz
show active addons
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/Base.py4
1 files changed, 4 insertions, 0 deletions
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)