diff --git a/examples/app.py b/examples/app.py index d7ea438..5f3f63e 100755 --- a/examples/app.py +++ b/examples/app.py @@ -93,6 +93,7 @@ if __name__ == '__main__': elif sio.async_mode == 'eventlet': # deploy with eventlet import eventlet + import eventlet.wsgi eventlet.wsgi.server(eventlet.listen(('', 5000)), app) elif sio.async_mode == 'gevent': # deploy with gevent diff --git a/examples/latency.py b/examples/latency.py index fa88a1e..e43a2f3 100755 --- a/examples/latency.py +++ b/examples/latency.py @@ -28,8 +28,8 @@ if __name__ == '__main__': elif sio.async_mode == 'eventlet': # deploy with eventlet import eventlet - from eventlet import wsgi - wsgi.server(eventlet.listen(('', 5000)), app) + import eventlet.wsgi + eventlet.wsgi.server(eventlet.listen(('', 5000)), app) elif sio.async_mode == 'gevent': # deploy with gevent from gevent import pywsgi