修复路径问题
This commit is contained in:
parent
bf621f2e87
commit
1156cf2bc9
@ -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代码目录
|
||||
|
||||
Loading…
Reference in New Issue
Block a user