diff options
Diffstat (limited to 'module/plugins/Base.py')
-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) |