[core/config] add "core" config section
move theme and modules into a "core" config section
This commit is contained in:
parent
057f894d52
commit
a9f50f1b51
1 changed files with 4 additions and 0 deletions
|
@ -225,6 +225,10 @@ class Config(util.store.Store):
|
||||||
if tmp.has_section("module-parameters"):
|
if tmp.has_section("module-parameters"):
|
||||||
for key, value in tmp.items("module-parameters"):
|
for key, value in tmp.items("module-parameters"):
|
||||||
self.set(key, value)
|
self.set(key, value)
|
||||||
|
if tmp.has_section("core"):
|
||||||
|
for key, value in tmp.items("core"):
|
||||||
|
self.set(key, value)
|
||||||
|
|
||||||
|
|
||||||
"""Returns a list of configured modules
|
"""Returns a list of configured modules
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue