Use 2-space indents.

Truncate the file so that any additional data after the overwrite gets removed.
pull/3554/head
derekpierre 2024-08-13 14:54:59 -04:00
parent b6738b4ac0
commit 019569c36e
No known key found for this signature in database
1 changed files with 2 additions and 1 deletions

View File

@ -196,4 +196,5 @@ def update_config_keystore_path(keystore_path: Path, config_file: Path = None) -
ursula_config = json.load(f)
ursula_config["keystore_path"] = keystore_path
f.seek(0)
json.dump(ursula_config, f, indent=4)
json.dump(ursula_config, f, indent=2)
f.truncate() # rest of the file truncated