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