[core/config] add "core" config section

move theme and modules into a "core" config section
This commit is contained in:
tobi-wan-kenobi 2020-07-09 07:04:22 +02:00
parent 057f894d52
commit a9f50f1b51

View file

@ -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