Update app/main.py

Co-authored-by: Owen <[email protected]>
This commit is contained in:
brmnjsh
2023-09-08 12:51:37 +02:00
committed by GitHub
co-authored by Owen
parent dfeb65c900
commit 91e1640697
-1
View File
@@ -28,7 +28,6 @@ class ServiceListener(Consumer):
# but depending on if we can add the tagset to the sqs message body
# we either extract that and then delegate to the appropriate service
# or get the action tag from the object through the aws helper function
# service = None
key = aws_helper.get_key_from_message(body)
bucket = aws_helper.get_bucket_from_message(body)
action = aws_helper.get_object_tag(key, bucket, 'action')['Value']