From 2fad0f88e8a0297934befa1ebe1b3d90275a45da Mon Sep 17 00:00:00 2001 From: jem Date: Fri, 8 Oct 2021 17:35:51 +0200 Subject: [PATCH] fix json bug --- src/main/python/ddadevops/devops_terraform_build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/python/ddadevops/devops_terraform_build.py b/src/main/python/ddadevops/devops_terraform_build.py index f9ca3b6..82e9ca9 100644 --- a/src/main/python/ddadevops/devops_terraform_build.py +++ b/src/main/python/ddadevops/devops_terraform_build.py @@ -111,7 +111,7 @@ class DevopsTerraformBuild(DevopsBuild): result = tf.output(json=IsFlagged) self.print_terraform_command(tf) with open(self.build_path() + self.output_json_name, "w") as output_file: - output_file.write(json.dumps(result)) + output_file.write(dumps(result)) def read_output_json(self): with open(self.build_path() + self.output_json_name, 'r') as f: