From 6ddcd8914ba7bead27cc72964959076b4e24fc9b Mon Sep 17 00:00:00 2001 From: viking1304 Date: Sun, 30 Jun 2024 11:44:06 +0200 Subject: [PATCH] ensure use of python from venv --- webui.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webui.sh b/webui.sh index 7acea902c..a101e80f7 100755 --- a/webui.sh +++ b/webui.sh @@ -217,6 +217,8 @@ then if [[ -f "${venv_dir}"/bin/activate ]] then source "${venv_dir}"/bin/activate + # ensure use of python from venv + python_cmd="${venv_dir}"/bin/python else printf "\n%s\n" "${delimiter}" printf "\e[1m\e[31mERROR: Cannot activate python venv, aborting...\e[0m"