Update config for pretty printing
This commit is contained in:
parent
08f6b8846a
commit
c1055ecb8c
@ -87,7 +87,9 @@ class Config():
|
||||
def save(self):
|
||||
try:
|
||||
with open(self.config_path + "bmc.json", 'w') as fh:
|
||||
fh.write(json.dumps(self.config))
|
||||
fh.write(json.dumps(self.config,
|
||||
indent=4,
|
||||
separators=(',', ': ')))
|
||||
except IOError:
|
||||
tools.warning("Could not write config file.")
|
||||
sys.exit(1)
|
||||
|
Loading…
Reference in New Issue
Block a user