Merge branch 'd01phin-bug/426/config-file-pretty-formatting'

This commit is contained in:
vrde 2016-08-05 14:36:56 +02:00
commit ed008b76a2
No known key found for this signature in database
GPG Key ID: 6581C7C39B3D397D

View File

@ -209,7 +209,7 @@ def write_config(config, filename=None):
filename = CONFIG_DEFAULT_PATH filename = CONFIG_DEFAULT_PATH
with open(filename, 'w') as f: with open(filename, 'w') as f:
json.dump(config, f) json.dump(config, f, indent=4)
def autoconfigure(filename=None, config=None, force=False): def autoconfigure(filename=None, config=None, force=False):