diff --git a/benchmark/space/__init__.py b/benchmark/space/__init__.py index aed99e1..80a17d0 100644 --- a/benchmark/space/__init__.py +++ b/benchmark/space/__init__.py @@ -604,7 +604,8 @@ class BENCHMARK_OT_save(bpy.types.Operator): ) def execute(self, context): - print("Saving to " + self.filepath) + with open(self.filepath, "w") as f: + f.write(json.dumps(global_result_dict, sort_keys=True, indent=2)) return {'FINISHED'} def invoke(self, context, event):