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