Commit cd08025e authored by Christophe Benz's avatar Christophe Benz

bugfix with recursive func

parent d7e010e8
......@@ -38,8 +38,10 @@ class INIConfig(IConfig):
def load_section(section):
sections = section.split(':')
if len(sections) > 1:
result = {}
for s in sections:
values = load_section(s)
result[s] = load_section(s)
return result
return {section: dict(self.config.items(section))}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment