Call normalize_sep to fix backslashes on linux.
This commit is contained in:
parent
f8fed4e41e
commit
731e1247c1
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue