From 25a99b45499632dc8cef53f51c9f6b128c5a7215 Mon Sep 17 00:00:00 2001 From: Simple_Not <44047940+moonbaseDelta@users.noreply.github.com> Date: Thu, 20 Jul 2023 01:28:34 +1000 Subject: [PATCH] we can send now? --- app.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app.py b/app.py index c73ea13..3e1577b 100644 --- a/app.py +++ b/app.py @@ -5,7 +5,7 @@ from todo import todos from threads import threads_lists from threads_with_posts import open_threads from arango import ArangoClient -from minio import minioClient +from minio import Minio import socket, os @@ -182,6 +182,10 @@ def post_to_post(post_key): def upload_file(): if request.method == "POST": uploaded_file = request.files["file"] + + minioClient = Minio( + "static.guaranteedstruggle.host", + ) if uploaded_file: bucket_name = "thread-pics" size = os.fstat(uploaded_file.fileno()).st_size