Sort keys in config
This commit is contained in:
parent
c1055ecb8c
commit
2e6d9c0f79
@ -88,6 +88,7 @@ class Config():
|
||||
try:
|
||||
with open(self.config_path + "bmc.json", 'w') as fh:
|
||||
fh.write(json.dumps(self.config,
|
||||
sort_keys=True
|
||||
indent=4,
|
||||
separators=(',', ': ')))
|
||||
except IOError:
|
||||
|
Loading…
Reference in New Issue
Block a user