From dda11c25b00ad2a950b1ae75d12740e9acf0a04a Mon Sep 17 00:00:00 2001 From: Jack Date: Mon, 6 Mar 2017 23:20:37 +0000 Subject: [PATCH] Removed use of tornado --- cps.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cps.py b/cps.py index fdc5bce7..8b528ec5 100755 --- a/cps.py +++ b/cps.py @@ -17,9 +17,7 @@ if __name__ == '__main__': if web.ub.DEVELOPMENT: web.app.run(host="0.0.0.0", port=web.ub.config.config_port, debug=True) else: - http_server = HTTPServer(WSGIContainer(web.app)) - http_server.listen(web.ub.config.config_port) - IOLoop.instance().start() + web.app.run(host="0.0.0.0", port=web.ub.config.config_port) if web.helper.global_task == 0: web.app.logger.info("Performing restart of Calibre-web")