added support for mounted drives via unc paths.

This commit is contained in:
Erin O'Connell
2018-06-09 01:03:01 -06:00
parent 1468b07c80
commit 6caed81e62
+5 -1
View File
@@ -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'