Remove path.rstrip(sep), os.path.normpath takes care of it.

master
Ethan Dalool 2018-01-09 20:36:07 -08:00
parent 66c48d4ab0
commit 93d42afeca
1 changed files with 0 additions and 1 deletions

View File

@ -229,7 +229,6 @@ def normalize_sep(path):
for char in ('\\', '/'):
if char != os.sep:
path = path.replace(char, os.sep)
path = path.rstrip(os.sep)
return path
def system_root():