Skip to content

Commit 7c34e41

Browse files
authored
Update move.py
1 parent 940fd8c commit 7c34e41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/move.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def move_dir(
152152
if not _src_fs.isdir(src_path):
153153
raise DirectoryExpected(src_path)
154154

155-
# if both filesystems have a syspath we use `os.rename` to move the folder
155+
# if both filesystems have a syspath we use `shutil.move` to move the folder
156156
if _src_fs.hassyspath(src_path) and _dst_fs.hassyspath(dst_path):
157157
src_syspath = _src_fs.getsyspath(src_path)
158158
dst_syspath = _dst_fs.getsyspath(dst_path)

0 commit comments

Comments
 (0)