diff --git a/halfapi/conf.py b/halfapi/conf.py index 8c811f9..81ad4c5 100644 --- a/halfapi/conf.py +++ b/halfapi/conf.py @@ -100,9 +100,7 @@ def config_dict(): The config object as a dict """ return { - section: { - config.items(section) - } + section: dict(config.items(section)) for section in config.sections() }