Fix paths.is_absolute on windows

This commit is contained in:
Ian Cottrell 2018-01-18 11:04:01 -05:00
parent 2169ae1c37
commit 771fedb260
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ def _is_absolute(path):
Returns: Returns:
`True` if `path` is an absolute path. `True` if `path` is an absolute path.
""" """
return path.startswith("/") return path.startswith("/") or (len(path)>2 and path[1] == ":")
def _join(path, *others): def _join(path, *others):