Skip to content
Snippets Groups Projects
Commit 5958faaa authored by ale's avatar ale
Browse files

import the gevent.ssl module instead of the stdlib one

parent 26d4a3e6
Branches
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ def create_app(app, userdb=None, mc=None):
def run(flask_app, addr, port, ssl_ca, ssl_cert, ssl_key, dh_params):
ssl_args = {}
if ssl_ca and os.path.exists(ssl_ca):
import ssl
from gevent import ssl
ssl_args = {
'server_side': True,
'certfile': ssl_cert,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment