diff --git a/src/engine/src/helpers/function_bootstrap.py b/src/engine/src/helpers/function_bootstrap.py index 228ace18..02732e3a 100644 --- a/src/engine/src/helpers/function_bootstrap.py +++ b/src/engine/src/helpers/function_bootstrap.py @@ -3,5 +3,6 @@ if __name__ == "__main__": sys.path.append("/mnt/open-workflow-engine/pipeline/task/src") + sys.path.append(os.path.dirname(os.environ.get("_OWE_ENTRYPOINT_FILE_PATH"))) os.chdir(os.path.dirname(os.environ.get("_OWE_ENTRYPOINT_FILE_PATH"))) exec(open(os.environ.get("_OWE_ENTRYPOINT_FILE_PATH")).read()) \ No newline at end of file