diff --git a/python/fate_flow/commands/server_cli.py b/python/fate_flow/commands/server_cli.py index 83bc3e24e..86c741c83 100644 --- a/python/fate_flow/commands/server_cli.py +++ b/python/fate_flow/commands/server_cli.py @@ -175,7 +175,7 @@ def init_server(ip, port, home): if ip or port: with open(SERVER_CONF_PATH, "w") as file: - yaml.dump(config, file) + yaml.dump(config, file, default_flow_style=False) print("Init server completed!")