fix(cube: create_nicsensor)修复多系统间不能兼容执行的问题
This commit is contained in:
parent
7a85ff088a
commit
ef1a766dac
@ -22,9 +22,8 @@ file_path = 'create_nicsensor.py'
|
|||||||
absolute_path = os.path.abspath(file_path)
|
absolute_path = os.path.abspath(file_path)
|
||||||
workspace_path = get_content_before_substring(absolute_path, "src")
|
workspace_path = get_content_before_substring(absolute_path, "src")
|
||||||
|
|
||||||
model_path = "data\\"
|
board_feature_path = os.path.join(workspace_path, "data", "BoardFeature.json")
|
||||||
board_feature_path = workspace_path + model_path + "BoardFeature.json"
|
hw_topo_path = os.path.join(workspace_path, "data", "ServerHwTopo.json")
|
||||||
hw_topo_path = workspace_path + model_path + "ServerHwTopo.json"
|
|
||||||
|
|
||||||
dbg_print("info", "====== Pre Init ======")
|
dbg_print("info", "====== Pre Init ======")
|
||||||
dbg_print("info", f"workspace_path={workspace_path}")
|
dbg_print("info", f"workspace_path={workspace_path}")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user