From 69bb753980628b36b4aeed728ccfaef4879c2c3a Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Fri, 21 Sep 2018 09:21:22 +0300 Subject: [PATCH] dvc: properly join paths for push/pull progress bar Fixes #1095 Signed-off-by: Ruslan Kuprieiev --- dvc/remote/local.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dvc/remote/local.py b/dvc/remote/local.py index 0f6e40a83..84e328e24 100644 --- a/dvc/remote/local.py +++ b/dvc/remote/local.py @@ -443,8 +443,8 @@ class RemoteLOCAL(RemoteBase): for i in self.load_dir_cache(md5): if info.get('branch'): i['branch'] = info['branch'] - i[self.PARAM_PATH] = posixpath.join(info[self.PARAM_PATH], - i[self.PARAM_RELPATH]) + i[self.PARAM_PATH] = os.path.join(info[self.PARAM_PATH], + i[self.PARAM_RELPATH]) collected.append(i.copy()) collected.extend(checksum_infos)