From 848a9f30694246e47282eab2b555de7215889fa7 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Fri, 22 Sep 2017 12:20:26 -0400 Subject: [PATCH] not Python Signed-off-by: Kenneth Reitz --- pipenv/cli.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pipenv/cli.py b/pipenv/cli.py index 64d753be..35db2455 100644 --- a/pipenv/cli.py +++ b/pipenv/cli.py @@ -380,8 +380,9 @@ def ensure_python(three=None, python=None): path_to_python = None USING_DEFAULT_PYTHON = (three is None and not python) + print(locals()) # Load the PIPENV_DEFAULT_PYTHON_VERSION. - if PIPENV_DEFAULT_PYTHON_VERSION and three is None and python is None: + if PIPENV_DEFAULT_PYTHON_VERSION and three is None and not python: python = PIPENV_DEFAULT_PYTHON_VERSION # Find out which python is desired.