From 5f35a370ff864c2cc6f773ba492462de54647e4a Mon Sep 17 00:00:00 2001 From: Michael Hall Date: Fri, 1 Dec 2023 16:52:05 -0600 Subject: [PATCH] - Added pub/ prefix to destination. --- src_py/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src_py/main.py b/src_py/main.py index a370eb5..2bb2b86 100644 --- a/src_py/main.py +++ b/src_py/main.py @@ -55,7 +55,7 @@ def handle_s3_event_message(event, s3_client): 'Bucket': source_bucket, 'Key': object_key }, - Key=object_key.split('/', 2)[-1] + Key=f'pub/{object_key.split("/", 2)[-1]}' )