mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 15:36:27 +00:00
common.tools: Make rel_path normalize the path
This commit is contained in:
parent
9f7038163f
commit
d8c831a7fa
1 changed files with 1 additions and 1 deletions
|
@ -137,4 +137,4 @@ def copy_tree(from_path, to_path):
|
||||||
|
|
||||||
def rel_path(base, path):
|
def rel_path(base, path):
|
||||||
import os.path
|
import os.path
|
||||||
return os.path.join(os.path.dirname(base), path)
|
return os.path.normpath(os.path.join(os.path.dirname(base), path))
|
||||||
|
|
Loading…
Add table
Reference in a new issue