From de861a3cfe3cd985c9132a8593485bc33fb0f36f Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Fri, 15 Sep 2017 11:20:52 -0400 Subject: [PATCH] fix weird bug, maybe Signed-off-by: Kenneth Reitz --- pipenv/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipenv/cli.py b/pipenv/cli.py index 712178b0..a55bd196 100644 --- a/pipenv/cli.py +++ b/pipenv/cli.py @@ -398,7 +398,7 @@ def ensure_project(three=None, python=None, validate=True, system=False, warn=Tr path_to_python = which('python') - if project.required_python_version not in python_version(path_to_python): + if project.required_python_version not in python_version(path_to_python) or '': puts( '{0}: Your Pipfile requires {1} {2}, ' 'but you are using {3} ({4}).'.format(