Call normalize_sep to fix backslashes on linux.

master
Ethan Dalool 2017-11-19 10:59:53 -08:00
parent f8fed4e41e
commit 731e1247c1
1 changed files with 1 additions and 0 deletions

View File

@ -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