Update app/main.py

Co-authored-by: Owen <84334068+owenhtr@users.noreply.github.com>
This commit is contained in:
brmnjsh 2023-09-08 12:51:37 +02:00 committed by GitHub
parent dfeb65c900
commit 91e1640697
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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']