This commit is contained in:
Louis Abel 2022-11-18 21:38:39 -07:00
parent 37e5c3fe40
commit 4bf7f6673d
Signed by untrusted user: label
GPG Key ID: B37E62D143879B36

View File

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