From 4a58fcd8609948c496a7a2f1dc81815440617156 Mon Sep 17 00:00:00 2001 From: Pekka T Savolainen Date: Mon, 2 Dec 2024 17:06:29 +0200 Subject: [PATCH] Fix bug --- spine_engine/utils/helpers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spine_engine/utils/helpers.py b/spine_engine/utils/helpers.py index 5db0b8f..2bee964 100644 --- a/spine_engine/utils/helpers.py +++ b/spine_engine/utils/helpers.py @@ -273,8 +273,8 @@ def get_julia_env(use_jupyter_console, julia_kernel, julia_path, julia_project_p project = "" if project_arg is None else project_arg.split("--project=")[1] return julia, project if julia_path == "": - julia = resolve_executable_from_path(JULIA_EXECUTABLE) - if julia == "": + julia_path = resolve_executable_from_path(JULIA_EXECUTABLE) + if julia_path == "": return None return julia_path, julia_project_path