fix weird bug, maybe

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
2017-09-15 11:20:52 -04:00
parent bfd4984195
commit de861a3cfe
+1 -1
View File
@@ -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(