diff --git a/src/nypl_py_utils/classes/s3_client.py b/src/nypl_py_utils/classes/s3_client.py index f1a422d..6d8c151 100644 --- a/src/nypl_py_utils/classes/s3_client.py +++ b/src/nypl_py_utils/classes/s3_client.py @@ -76,7 +76,7 @@ def upload_file(self, content, file_path): bucket. Example: "subdirectory/example_file.csv" """ self.logger.info( - f'Writing {file_path} in S3 bucket {self.s3_client.name}') + f'Writing {file_path} in S3 bucket {self.bucket}') try: input_stream = BytesIO(content.encode()) self.s3_client.upload_fileobj(input_stream, self.bucket, file_path)