Skip to content

Commit a890f41

Browse files
author
Kincaid Savoie
committed
Forgot to enable recurse when recursively calling copy_file.
1 parent 6ff45ee commit a890f41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pssh/ssh_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ def _copy_dir(self, local_dir, remote_dir):
292292
for file_name in file_list:
293293
local_path = os.path.join(local_dir, file_name)
294294
remote_path = os.path.join(remote_dir, file_name)
295-
self.copy_file(local_path, remote_path)
295+
self.copy_file(local_path, remote_path, recurse=True)
296296

297297
def copy_file(self, local_file, remote_file, recurse=False):
298298
"""Copy local file to host via SFTP/SCP

0 commit comments

Comments
 (0)