Skip to content

Commit

Permalink
fix issues with s3_download
Browse files Browse the repository at this point in the history
  • Loading branch information
xieyongliang committed May 4, 2023
1 parent 666008c commit 44029c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ def s3_download(s3uri, path):

objects = []
paginator = s3_client.get_paginator('list_objects_v2')
page_iterator = paginator.paginate(Bucket=key, Prefix=key)
page_iterator = paginator.paginate(Bucket=bucket, Prefix=key)
for page in page_iterator:
if 'Contents' in page:
for obj in page['Contents']:
Expand Down

0 comments on commit 44029c4

Please sign in to comment.