Skip to content

Commit

Permalink
fix s3 bucket check
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxlife committed Sep 22, 2015
1 parent 54fb60e commit 0360c5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions senza/templates/_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ def check_s3_bucket(bucket_name: str, region: str):
exists = False
try:
s3.meta.client.head_bucket(Bucket=bucket_name)
exists = True
except:
pass
if not exists:
Expand Down

0 comments on commit 0360c5b

Please sign in to comment.