[conf] fix list comprehension
This commit is contained in:
parent
40547ddf30
commit
23bd876c4c
|
@ -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()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue