TCL interpreter doesn't support windows path separator

parent 315f53cd
......@@ -117,7 +117,7 @@ def relpath(path1, path2=None):
path2 = os.getcwd()
if path1 == path2:
return '.'
return os.path.relpath(path1, path2)
return os.path.relpath(path1, path2).replace(slash_char(), "/")
def rel2abs(path, base=None):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment