diff --git a/server.py b/server.py index 0e79adf..2fb0771 100644 --- a/server.py +++ b/server.py @@ -32,7 +32,7 @@ def loadcert_backend(): return "Invalid request. (cert is missing!)" if 'privkey' not in request.files: return "Invalid request. (privkey is missing!)" - cert = request.files['cert'].read() + cert = request.files['cert'] privkey = request.files['privkey'] certt = cert.read() privkeyy = privkey.read()