diff --git a/arc/common.py b/arc/common.py index c1db5e23be..a1be1f234d 100644 --- a/arc/common.py +++ b/arc/common.py @@ -397,7 +397,7 @@ def save_yaml_file(path: str, if '/' in path and os.path.dirname(path) and not os.path.exists(os.path.dirname(path)): os.makedirs(os.path.dirname(path)) with open(path, 'w') as f: - yaml.dump(content, path) + yaml.dump(content, f) # f.write(yaml_str)