Call normalize_sep to fix backslashes on linux.

This commit is contained in:
Ethan Dalool 2017-11-19 10:59:53 -08:00
parent f8fed4e41e
commit 731e1247c1

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