From 7d5302b47fe16bd5df8f92a1c3e421a0da8ffbd5 Mon Sep 17 00:00:00 2001 From: Ozzie Isaacs Date: Sat, 2 Jun 2018 17:12:54 +0200 Subject: [PATCH] Fix accidentially deleted gevent ds --- cps/web.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cps/web.py b/cps/web.py index ea201102..950d0e91 100755 --- a/cps/web.py +++ b/cps/web.py @@ -3383,7 +3383,7 @@ def upload(): else: return redirect(url_for("index")) -'''def start_gevent(): +def start_gevent(): from gevent.wsgi import WSGIServer global gevent_server try: @@ -3398,4 +3398,4 @@ def upload(): gevent_server = WSGIServer(('0.0.0.0', ub.config.config_port), app, **ssl_args) gevent_server.serve_forever() except: - pass''' + pass