|
@ -23,6 +23,6 @@ def relpath(path, start=None): |
|
|
if start is None: |
|
|
if start is None: |
|
|
start = os.curdir |
|
|
start = os.curdir |
|
|
if os.path.abspath(path).startswith(os.path.abspath(start)): |
|
|
if os.path.abspath(path).startswith(os.path.abspath(start)): |
|
|
return os.path.relpath(path, start) |
|
|
return os.path.relpath(path, start).replace("\\", "/") |
|
|
else: |
|
|
else: |
|
|
return os.path.abspath(path) |
|
|
return os.path.abspath(path).replace("\\", "/") |
|
|