Skip to content

Commit 2e75d09

Browse files
authored
Update fsspec/implementations/sftp.py
1 parent 9a81906 commit 2e75d09

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fsspec/implementations/sftp.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ def _rm(self, path):
174174

175175
def mv(self, old, new):
176176
new = self._strip_protocol(new)
177+
old = self._strip_protocol(old)
177178
logger.debug("Renaming %s into %s", old, new)
178179
self.ftp.posix_rename(old, new)
179180

0 commit comments

Comments
 (0)