Skip to content

Commit

Permalink
use correct bucket name
Browse files Browse the repository at this point in the history
  • Loading branch information
schae234 committed Sep 6, 2018
1 parent 7432594 commit 91c4dc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion minus80/CloudData.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def __init__(self):
aws_secret_access_key=aws_secret_key,
config=Config(s3={'addressing_style': 'path'})
)
self.bucket = f'minus80-{cf.cloud.access_key.lower()}'
self.bucket = f'minus80-{aws_access_key.lower()}'

# make sure the minus80 bucket exists
if self.bucket not in [x['Name'] for x in self.s3.list_buckets()['Buckets']]:
Expand Down

0 comments on commit 91c4dc8

Please sign in to comment.