修复路径问题

This commit is contained in:
zhang hongbo 2026-01-16 11:22:20 +08:00
parent bf621f2e87
commit 1156cf2bc9

View File

@ -38,7 +38,7 @@ class IntegratedPipeline:
# 获取当前工具所在的项目根目录自动检测IntegratedTool -> PythonWorkSpace -> 项目根目录)
# app_dir 是 IntegratedTool 目录,根目录在其两层上级
self.tool_root = app_dir.parent.parent.resolve()
self.tool_root = app_dir.resolve().parent.parent.resolve()
self.config_file = app_dir / "pipeline_config.json"
self.gen_py_dir = app_dir / "gen-py" # 临时Python代码目录