Skip to content
Snippets Groups Projects
Commit e86ce5bc authored by yvesn's avatar yvesn
Browse files

SSDM-6470: saving obis settings in human friendly format

parent c98b395d
No related branches found
No related tags found
No related merge requests found
......@@ -241,7 +241,7 @@ class ConfigResolver(object):
os.makedirs(location_dir_path)
config_path = os.path.join(location_dir_path, self.categoty + '.json')
with open(config_path, "w") as f:
json.dump(location_config_dict, f, sort_keys=True)
json.dump(location_config_dict, f, sort_keys=True, indent=4)
def set_value_for_json_parameter(self, json_param_name, name, value, loc):
"""Set one field for the json parameter
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment