diff --git a/src/authx/auth.py b/src/authx/auth.py index 17724f5..5cafd04 100644 --- a/src/authx/auth.py +++ b/src/authx/auth.py @@ -397,10 +397,10 @@ def get_minio_client(token=None, s3_endpoint=None, bucket=None, access_key=None, from minio import Minio if region is None: client = Minio( - endpoint = url, - access_key = access_key, - secret_key = secret_key, - secure = secure + endpoint=url, + access_key=access_key, + secret_key=secret_key, + secure=secure ) else: client = Minio( @@ -410,7 +410,7 @@ def get_minio_client(token=None, s3_endpoint=None, bucket=None, access_key=None, region = region, secure = secure ) - + print(f"HOWDY {client.bucket_exists(bucket)}") if not client.bucket_exists(bucket): raise CandigAuthError(f"bucket {bucket} does not exist at {url}")