Skip to content

Commit

Permalink
updated store_credentials attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
tclose committed May 2, 2024
1 parent b8401f0 commit de7738b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xnat_ingest/cli/upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,8 @@ def xnat_session_exists(project_id, subject_id, visit_id):
# List sessions stored in s3 bucket
s3 = boto3.resource(
"s3",
aws_access_key_id=store_credentials[0],
aws_secret_access_key=store_credentials[1],
aws_access_key_id=store_credentials.access_key,
aws_secret_access_key=store_credentials.access_secret,
)
bucket_name, prefix = staged[5:].split("/", 1)
bucket = s3.Bucket(bucket_name)
Expand Down

0 comments on commit de7738b

Please sign in to comment.