summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2014-10-20 22:52:41 +0200
committermathieui <mathieui@mathieui.net>2014-10-20 22:52:41 +0200
commit7bc5d0de663ccb71d70855999188b4ca2b61869a (patch)
treea72e25891d5dfc119ab73537f2dcbfab92300816
parentb803db7ff67bea7b5898e34853f2af6baaa16f6f (diff)
downloadpoezio-7bc5d0de663ccb71d70855999188b4ca2b61869a.tar.gz
poezio-7bc5d0de663ccb71d70855999188b4ca2b61869a.tar.bz2
poezio-7bc5d0de663ccb71d70855999188b4ca2b61869a.tar.xz
poezio-7bc5d0de663ccb71d70855999188b4ca2b61869a.zip
Initialize PluginConfig properly
-rw-r--r--src/plugin.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugin.py b/src/plugin.py
index a2412e10..22a17eee 100644
--- a/src/plugin.py
+++ b/src/plugin.py
@@ -20,9 +20,8 @@ class PluginConfig(config.Config):
and behave like the core Config object.
"""
def __init__(self, filename, module_name):
- self.file_name = filename
+ config.Config.__init__(self, filename)
self.module_name = module_name
- RawConfigParser.__init__(self, None)
self.read()
def get(self, option, default, section=None):