Skip to content

Commit de861a3

Browse files
committed
fix weird bug, maybe
Signed-off-by: Kenneth Reitz <[email protected]>
1 parent bfd4984 commit de861a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pipenv/cli.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ def ensure_project(three=None, python=None, validate=True, system=False, warn=Tr
398398

399399
path_to_python = which('python')
400400

401-
if project.required_python_version not in python_version(path_to_python):
401+
if project.required_python_version not in python_version(path_to_python) or '':
402402
puts(
403403
'{0}: Your Pipfile requires {1} {2}, '
404404
'but you are using {3} ({4}).'.format(

0 commit comments

Comments
 (0)