Call normalize_sep to fix backslashes on linux.
parent
f8fed4e41e
commit
731e1247c1
|
@ -9,6 +9,7 @@ class Path:
|
|||
if isinstance(path, Path):
|
||||
self.absolute_path = path.absolute_path
|
||||
else:
|
||||
path = normalize_sep(path)
|
||||
path = os.path.normpath(path)
|
||||
path = os.path.abspath(path)
|
||||
self.absolute_path = path
|
||||
|
|
Loading…
Reference in New Issue