[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 The config object as a dict
""" """
return { return {
section: { section: dict(config.items(section))
config.items(section)
}
for section in config.sections() for section in config.sections()
} }