hmm... test before commit
This commit is contained in:
parent
5d477bc956
commit
6e462abb4d
@ -548,7 +548,7 @@ def update_config(section, update_data, scope=None):
|
|||||||
if isinstance(update_data, list):
|
if isinstance(update_data, list):
|
||||||
configuration = update_data
|
configuration = update_data
|
||||||
else:
|
else:
|
||||||
configuration.extend(update_data)
|
configuration.update(update_data)
|
||||||
|
|
||||||
# read only the requested section's data.
|
# read only the requested section's data.
|
||||||
scope.sections[section] = {section: configuration}
|
scope.sections[section] = {section: configuration}
|
||||||
|
Loading…
Reference in New Issue
Block a user