Skip to content

Commit

Permalink
Merge branch 'master' into bugfix/skip_requirements-gh-2349
Browse files Browse the repository at this point in the history
  • Loading branch information
techalchemy authored Jun 14, 2018
2 parents a27a34a + 403aa9d commit 3204bf2
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion pipenv/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,15 @@
def _normalized(p):
if p is None:
return None
return normalize_drive(str(Path(p).resolve()))
loc = Path(p)
if loc.is_absolute():
return normalize_drive(str(loc))
else:
try:
loc = loc.resolve()
except OSError:
loc = loc.absolute()
return normalize_drive(str(loc))


DEFAULT_NEWLINES = u'\n'
Expand Down

0 comments on commit 3204bf2

Please sign in to comment.