minio storage uploud fix pt2

This commit is contained in:
2025-11-25 15:39:23 +02:00
parent c1dd9a60f2
commit 1889f6cada

View File

@@ -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("mih")
found = client.bucket_exists(bucket_name="mih")
if not found:
client.make_bucket("mih")
else: