mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
fix weird bug, maybe
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
+1
-1
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user