[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
|
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()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue