diff options
author | Adrien Ferrand <adferrand@users.noreply.github.com> | 2018-11-10 03:17:17 +0300 |
---|---|---|
committer | Brad Warren <bmw@users.noreply.github.com> | 2018-11-10 03:17:17 +0300 |
commit | ad885afdb8f51568dd247f1df5e9e1caf99ade12 (patch) | |
tree | af103c6e5d5bc18509e5f2b7928a512b8b56cbcb | |
parent | 7352727a6507ee153dff485b5423940497186663 (diff) |
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.
-rwxr-xr-x | tools/_venv_common.py | 2 |
1 files changed, 1 insertions, 1 deletions
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:') |