Skip to content

Commit

Permalink
fix: transfer dst
Browse files Browse the repository at this point in the history
  • Loading branch information
MehmedGIT committed Sep 30, 2023
1 parent d5954b7 commit c2309f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/operandi_utils/hpc/transfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ def get_dir(self, remote_src, local_dst, mode=0o766):
item_src = join(remote_src, item)
item_dst = join(local_dst, item)
if S_ISDIR(self.sftp.lstat(item_src).st_mode):
makedirs(name=local_dst, mode=mode, exist_ok=True)
makedirs(name=item_dst, mode=mode, exist_ok=True)
self.get_dir(remote_src=item_src, local_dst=item_dst, mode=mode)
else:
self.get_file(remote_src=item_src, local_dst=item_dst)
Expand Down

0 comments on commit c2309f6

Please sign in to comment.