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 14, 2023
1 parent b6573ec commit ef68144
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/shared.py
Expand Up @@ -750,6 +750,8 @@ def s3_download(s3uri, path):
cache = json.load(open('cache', 'r'))

for obj in objects:
if obj['Key'] == key:
continue
response = s3_client.head_object(
Bucket = bucket,
Key = obj['Key']
Expand Down

0 comments on commit ef68144

Please sign in to comment.