Config file is now updated after changing config property
Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
@ -70,6 +70,9 @@ def set_property(key: str, value: str) -> None:
|
||||
|
||||
section, prop = tuple(key.split("."))
|
||||
parser.set(section, prop, value)
|
||||
|
||||
with open(config_file, "w") as file:
|
||||
parser.write(file)
|
||||
|
||||
|
||||
def list_property_values() -> None:
|
||||
|
||||
Reference in New Issue
Block a user