Merge pull request #1935 from sugizo/fix_anyserver_cherrypy
anyserver.py with cherrypy
This commit is contained in:
@@ -43,8 +43,8 @@ class Servers:
|
||||
|
||||
@staticmethod
|
||||
def cherrypy(app, address, **options):
|
||||
from cherrypy import wsgiserver
|
||||
server = wsgiserver.CherryPyWSGIServer(address, app)
|
||||
from cheroot.wsgi import Server as WSGIServer
|
||||
server = WSGIServer(address, app)
|
||||
server.start()
|
||||
|
||||
@staticmethod
|
||||
|
||||
Reference in New Issue
Block a user