mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
added support for mounted drives via unc paths.
This commit is contained in:
+5
-1
@@ -52,7 +52,11 @@ from .vendor.first import first
|
||||
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:
|
||||
return normalize_drive(str(loc.resolve()))
|
||||
|
||||
|
||||
DEFAULT_NEWLINES = u'\n'
|
||||
|
||||
Reference in New Issue
Block a user