Skip to content

Commit ffa1e33

Browse files
committed
fix deploy module load bug
1 parent f1dca48 commit ffa1e33

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

veadk/cli/cli_deploy.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ def deploy(
115115
f"Load deploy module from {Path(TEMP_PATH) / tmp_dir_name / 'deploy.py'}"
116116
)
117117
deploy_module = load_module_from_file(
118-
module_name="deploy_module", file_path=str(Path(TEMP_PATH) / tmp_dir_name)
118+
module_name="deploy_module",
119+
file_path=str(Path(TEMP_PATH) / tmp_dir_name / "deploy.py"),
119120
)
120121
logger.info(f"Begin deploy from {Path(TEMP_PATH) / tmp_dir_name / 'src'}")
121122
asyncio.run(deploy_module.main())

0 commit comments

Comments
 (0)