Initialize PluginConfig properly
This commit is contained in:
parent
b803db7ff6
commit
7bc5d0de66
1 changed files with 1 additions and 2 deletions
|
@ -20,9 +20,8 @@ class PluginConfig(config.Config):
|
||||||
and behave like the core Config object.
|
and behave like the core Config object.
|
||||||
"""
|
"""
|
||||||
def __init__(self, filename, module_name):
|
def __init__(self, filename, module_name):
|
||||||
self.file_name = filename
|
config.Config.__init__(self, filename)
|
||||||
self.module_name = module_name
|
self.module_name = module_name
|
||||||
RawConfigParser.__init__(self, None)
|
|
||||||
self.read()
|
self.read()
|
||||||
|
|
||||||
def get(self, option, default, section=None):
|
def get(self, option, default, section=None):
|
||||||
|
|
Loading…
Reference in a new issue