diff --git a/pipenv/cli.py b/pipenv/cli.py index 22d72f29..2aa1d1e7 100644 --- a/pipenv/cli.py +++ b/pipenv/cli.py @@ -98,7 +98,7 @@ def ensure_pipfile(validate=True): # Validate the Pipfile's contents. if validate and project.virtualenv_exists: # Ensure that Pipfile is using proper casing. - p = project._pipfile + p = project.parsed_pipfile changed = ensure_proper_casing(pfile=p) # Write changes out to disk.