Skip to content

Commit 843e2b8

Browse files
author
cmuraru
committed
Fix indent
1 parent 056acde commit 843e2b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

himl/config_generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def output_yaml_data(self, data):
180180
return yaml.dump(data, Dumper=ConfigGenerator.yaml_dumper(), default_flow_style=False)
181181

182182
def yaml_to_json(self, yaml_data):
183-
return json.dumps(yaml.load(yaml_data, indent=4, Loader=yaml.FullLoader))
183+
return json.dumps(yaml.load(yaml_data, Loader=yaml.FullLoader), indent=4)
184184

185185
def output_data(self, data, output_format):
186186
yaml_data = self.output_yaml_data(data)

0 commit comments

Comments
 (0)