From 15e000b3e656982194b17e38fb2efcfc39147758 Mon Sep 17 00:00:00 2001 From: aaronfriedman Date: Wed, 11 Mar 2026 10:41:09 -0400 Subject: [PATCH] Fix logging bug --- src/nypl_py_utils/classes/s3_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)