diff --git a/main.py b/main.py index 765be0b..e350174 100755 --- a/main.py +++ b/main.py @@ -185,8 +185,7 @@ def single_impl(item_directory: pathlib.Path, ia_collection: str, ia_item_title: def upload_file(): logging.info(f"Uploading file {rel_file}...") - client.fput_object(bucket_name=bucket_name, object_name=str(rel_file), file_path=file, - progress=Progress()) + client.fput_object(bucket_name=bucket_name, object_name=str(rel_file), file_path=file) retry_failures(upload_file, f"Failed to upload {rel_file}")