minio storage uploud fix pt2
This commit is contained in:
parent
c1dd9a60f2
commit
1889f6cada
1 changed files with 1 additions and 1 deletions
|
|
@ -217,7 +217,7 @@ def uploudMedCert(requestItem: medCertUploud):
|
||||||
client = Minio_Storage.minioConnection.minioConnect(requestItem.env)
|
client = Minio_Storage.minioConnection.minioConnect(requestItem.env)
|
||||||
generateMedCertPDF(requestItem)
|
generateMedCertPDF(requestItem)
|
||||||
today = datetime.today().strftime('%Y-%m-%d')
|
today = datetime.today().strftime('%Y-%m-%d')
|
||||||
found = client.bucket_exists("mih")
|
found = client.bucket_exists(bucket_name="mih")
|
||||||
if not found:
|
if not found:
|
||||||
client.make_bucket("mih")
|
client.make_bucket("mih")
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue