mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-10 15:28:34 +01:00
Fixing #1701
Fixing bug #1701 which made ssh remotes unusable on windows machines.
This commit is contained in:
@@ -128,7 +128,7 @@ class SSHConnection:
|
||||
self._sftp_connect()
|
||||
|
||||
for entry in self._sftp.listdir_attr(directory):
|
||||
path = os.path.join(directory, entry.filename)
|
||||
path = posixpath.join(directory, entry.filename)
|
||||
|
||||
if S_ISLNK(entry.st_mode):
|
||||
path = self._sftp.readlink(directory)
|
||||
|
||||
Reference in New Issue
Block a user