diff --git a/unskript-ctl/unskript_upload_results_to_s3.py b/unskript-ctl/unskript_upload_results_to_s3.py index eda7ae055..24398846a 100644 --- a/unskript-ctl/unskript_upload_results_to_s3.py +++ b/unskript-ctl/unskript_upload_results_to_s3.py @@ -76,7 +76,7 @@ def rename_and_upload(self, customer_name, checks_output): if not folder_exists: logger.debug(f"Creating folder {folder_path} in the bucket") try: - self.s3_client.put_object(Bucket=self.bucket_name, Key=(folder_path)) + self.s3_client.put_object(Bucket=self.bucket_name, Key=folder_path) except ClientError as e: logger.debug(f"Failed to create folder: {e}")