scm: add usage of os.path.normpath

This commit is contained in:
Zhanibek
2019-04-05 15:02:28 +06:00
parent 8b50ef8bb6
commit 1c9d72942b
+1 -1
View File
@@ -241,7 +241,7 @@ class Git(Base):
from gitdb.exc import BadObject, BadName
file_name = file_name[:-1] if file_name.endswith("/") else file_name
file_name = os.path.normpath(file_name)
file_name += ".dvc"
commits = []
try: