minio storage uploud fix pt3
This commit is contained in:
parent
1889f6cada
commit
526bd40255
2 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue