Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Hellander committed Nov 4, 2023
1 parent 0bd0a5d commit 142df57
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions fedn/fedn/common/storage/s3/miniorepo.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,13 @@ def __init__(self, config):
self.create_bucket(self.bucket)

def create_bucket(self, bucket_name):
"""
""" Create a new bucket. If bucket exists, do nothing.
:param bucket_name:
:param bucket_name: The name of the bucket
:type bucket_name: str
"""
found = self.client.bucket_exists(bucket_name)

if not found:
try:
self.client.make_bucket(bucket_name)
Expand Down

0 comments on commit 142df57

Please sign in to comment.