Skip to content

Commit 34df02a

Browse files
committed
update: venv problem
1 parent 721107f commit 34df02a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.vscode/.zshrc

+6-1
Original file line numberDiff line numberDiff line change
@@ -109,5 +109,10 @@ function wfuzz_vhost_https () {
109109

110110
# Start the virtual environment if exists
111111
if [ -d "$PROJECT_FOLDER/venv" ]; then
112-
source $PROJECT_FOLDER/venv/bin/activate
112+
if [ -n "${VIRTUAL_ENV}" ];then
113+
echo "Virtual Environment is already activated."
114+
echo "Virtual Environment Home: ${VIRTUAL_ENV}"
115+
else
116+
source $PROJECT_FOLDER/venv/bin/activate
117+
fi
113118
fi

0 commit comments

Comments
 (0)