try to fix s3 pagination

This commit is contained in:
Louis Abel 2022-11-18 21:34:45 -07:00
parent cab05e961f
commit 37e5c3fe40
Signed by: label
GPG Key ID: B37E62D143879B36

View File

@ -566,7 +566,7 @@ class Shared:
s3 = boto3.client('s3')
try:
res = s3.list_objects(Bucket=s3_bucket)['Contents']
res = s3.list_objects(Bucket=s3_bucket)
except:
logger.error(
'[' + Color.BOLD + Color.RED + 'FAIL' + Color.END + '] ' +