Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions bnd/data_transfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def _upload_file(local_file: Path, remote_file: Path):

# Ensure the destination directory exists
remote_file.parent.mkdir(parents=True, exist_ok=True)
shutil.copy2(local_file, remote_file)
shutil.copy(local_file, remote_file)
logger.info(f'Uploaded "{local_file.name}"')


Expand Down Expand Up @@ -104,7 +104,7 @@ def download_session(session_name: str, max_size_MB: float, do_video: bool) -> N
continue
# Ensure the destination directory exists
local_file.parent.mkdir(parents=True, exist_ok=True)
shutil.copy2(file, local_file)
shutil.copy(file, local_file)
logger.info(f'Downloaded "{file.name}"')
else:
logger.info(f'"{file.name}" is too large. Skipping.')
Expand Down
Loading