e☮
Size: a a a
e☮
e☮
V
ИХ
B
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
self.run()
File "/usr/lib/python3.9/threading.py", line 892, in run
self._target(*self._args, **self._kwargs)
File "/home/user/.local/lib/python3.9/site-packages/werkzeug/serving.py", line 956, in inner
srv = make_server(
File "/home/user/.local/lib/python3.9/site-packages/werkzeug/serving.py", line 807, in make_server
return ThreadedWSGIServer(
File "/home/user/.local/lib/python3.9/site-packages/werkzeug/serving.py", line 726, in __init__
self.socket = ssl_context.wrap_socket(sock, server_side=True)
File "/home/user/.local/lib/python3.9/site-packages/werkzeug/serving.py", line 609, in wrap_socket
return ssl.wrap_socket(
File "/usr/lib/python3.9/ssl.py", line 1402, in wrap_socket
context.load_cert_chain(certfile, keyfile)
ssl.SSLError: [SSL] PEM lib (_ssl.c:4044)
V
B
V
V
B
V
B
B
V
B
V
i
file_name = request.files.get('image')
filename = secure_filename(file_name.filename)
file_name.save(os.path.join(app.config['UPLOAD_FOLDER'], filename)) вот так, но большие разрешения просто сохраняет тип файла и всеi
VU
i