[conf] fix list comprehension

This commit is contained in:
Maxime Alves LIRMM 2020-10-07 09:53:21 +02:00
parent 40547ddf30
commit 23bd876c4c
1 changed files with 1 additions and 3 deletions

View File

@ -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()
}