summaryrefslogtreecommitdiff
path: root/src/plugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugin.py')
-rw-r--r--src/plugin.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugin.py b/src/plugin.py
index 137f704f..7d1aeb4b 100644
--- a/src/plugin.py
+++ b/src/plugin.py
@@ -16,6 +16,11 @@ class PluginConfig(config.Config):
section = self.module_name
return config.Config.get(self, option, default, section)
+ def set(self, option, default, section=None):
+ if not section:
+ section = self.module_name
+ return config.Config.set(self, option, default, section)
+
def read(self):
"""Read the config file"""
RawConfigParser.read(self, self.file_name)