From ad885afdb8f51568dd247f1df5e9e1caf99ade12 Mon Sep 17 00:00:00 2001 From: Adrien Ferrand Date: Sat, 10 Nov 2018 01:17:17 +0100 Subject: [PATCH] Correct venv3 detection on windows (#6490) A little typo in the _venv_common.py block the script to finish correctly once the virtual environment has been setup on Windows. This PR fixes that. --- tools/_venv_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/_venv_common.py b/tools/_venv_common.py index cce88f826..b180518f9 100755 --- a/tools/_venv_common.py +++ b/tools/_venv_common.py @@ -55,7 +55,7 @@ def main(venv_name, venv_args, args): print('Please run the following command to activate developer environment:') print('source {0}/bin/activate'.format(venv_name)) print('-------------------------------------------------------------------') - elif os.path.isdir(os.path.join(venv_args, 'Scripts')): + elif os.path.isdir(os.path.join(venv_name, 'Scripts')): # Windows specific print('---------------------------------------------------------------------------') print('Please run one of the following commands to activate developer environment:')