Onionr/scripts/pretty-default-config.py
2020-03-27 20:59:38 -05:00

10 lines
252 B
Python
Executable File

#!/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")