diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-03-30 16:38:37 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-03-30 16:38:37 +0100 |
commit | 9b9ba2a20409486e6645e0429220447f84199cc7 (patch) | |
tree | 0848626e95da6cb850819ded944ef1220f76f42e /module/plugins | |
parent | plugin chooser for settings (diff) | |
download | pyload-9b9ba2a20409486e6645e0429220447f84199cc7.tar.xz |
show active addons
Diffstat (limited to 'module/plugins')
-rw-r--r-- | module/plugins/Base.py | 4 |
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) |