From d8c831a7fa728e844e52e89d32e96e7ba3fc78a5 Mon Sep 17 00:00:00 2001 From: Nicolas Braud-Santoni Date: Mon, 12 Sep 2016 17:46:51 +0200 Subject: [PATCH] common.tools: Make rel_path normalize the path --- bootstrapvz/common/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrapvz/common/tools.py b/bootstrapvz/common/tools.py index 0fceb93..11ea050 100644 --- a/bootstrapvz/common/tools.py +++ b/bootstrapvz/common/tools.py @@ -137,4 +137,4 @@ def copy_tree(from_path, to_path): def rel_path(base, 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))