forked from yaso_meth/mih-project
minio storage uploud fix pt3
This commit is contained in:
@@ -217,7 +217,7 @@ def uploudMedCert(requestItem: medCertUploud):
|
||||
client = Minio_Storage.minioConnection.minioConnect(requestItem.env)
|
||||
generateMedCertPDF(requestItem)
|
||||
today = datetime.today().strftime('%Y-%m-%d')
|
||||
found = client.bucket_exists(bucket_name="mih")
|
||||
found = client.bucket_exists("mih")
|
||||
if not found:
|
||||
client.make_bucket("mih")
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user