1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-12-26 01:50:31 +00:00

Fix accidentially deleted gevent ds

This commit is contained in:
Ozzie Isaacs 2018-06-02 17:12:54 +02:00 committed by GitHub
parent bf44774f22
commit 7d5302b47f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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