Skip to content

Commit 2abeed6

Browse files
Merge pull request #54 from NYPL/s3-logging
Fix logging bug
2 parents 1f8a223 + 15e000b commit 2abeed6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)