Skip to content

Commit 15e000b

Browse files
Fix logging bug
1 parent 1f8a223 commit 15e000b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/nypl_py_utils/classes/s3_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def upload_file(self, content, file_path):
7676
bucket. Example: "subdirectory/example_file.csv"
7777
"""
7878
self.logger.info(
79-
f'Writing {file_path} in S3 bucket {self.s3_client.name}')
79+
f'Writing {file_path} in S3 bucket {self.bucket}')
8080
try:
8181
input_stream = BytesIO(content.encode())
8282
self.s3_client.upload_fileobj(input_stream, self.bucket, file_path)

0 commit comments

Comments
 (0)