Added default config formatter script
This commit is contained in:
parent
d50e6db1d2
commit
3b939b4598
9
scripts/pretty-default-config.py
Executable file
9
scripts/pretty-default-config.py
Executable file
@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
"""Enable dev default config"""
|
||||
|
||||
import json
|
||||
|
||||
conf = json.load(open('static-data/default_config.json', 'r'))
|
||||
json.dump(conf, open('static-data/default_config.json', 'w'), sort_keys=True, indent=4)
|
||||
print("Tidied default config")
|
Loading…
Reference in New Issue
Block a user