Added default config formatter script

master
Kevin Froman 2020-03-27 20:59:38 -05:00
parent d50e6db1d2
commit 3b939b4598
1 changed files with 9 additions and 0 deletions

View 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")