Fix venv path to check for .venv directory

This commit is contained in:
ComputerTech 2026-01-20 17:24:41 +00:00
parent 00eff40199
commit 7be14e3e8c
1 changed files with 5 additions and 2 deletions

View File

@ -6,8 +6,11 @@ echo "========================================"
echo ""
# Activate virtual environment if it exists
if [ -f "./venv/bin/activate" ]; then
echo "🔧 Activating virtual environment..."
if [ -f "./.venv/bin/activate" ]; then
echo "🔧 Activating virtual environment (.venv)..."
source ./.venv/bin/activate
elif [ -f "./venv/bin/activate" ]; then
echo "🔧 Activating virtual environment (venv)..."
source ./venv/bin/activate
fi