Skip to content

Commit 91c03dd

Browse files
committed
FDS Utilities Python: Fix an error.
1 parent 215f879 commit 91c03dd

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Utilities/Python/setup_python_env.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,6 @@ if [ -d "$VENV_DIR" ]; then
5555
read -p "Do you want to reinstall everything? (y/N): " choice
5656
case "$choice" in
5757
[yY]|[yY][eE][sS])
58-
# Deactivate if active
59-
if [ "$VIRTUAL_ENV" = "$(pwd)/$VENV_DIR" ]; then
60-
echo "Deactivating current virtual environment..."
61-
deactivate
62-
fi
6358
echo "Removing old environment..."
6459
rm -rf "$VENV_DIR" || error_exit "Failed to remove existing virtual environment"
6560
echo "Creating new virtual environment..."

0 commit comments

Comments
 (0)