Skip to content

Commit

Permalink
add explicit eventlet.wsgi import
Browse files Browse the repository at this point in the history
Fixes #309
  • Loading branch information
miguelgrinberg committed Aug 18, 2016
1 parent 1acfb4b commit d604a7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flask_socketio/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,7 @@ def run(self, app, host=None, port=None, **kwargs):
elif self.server.eio.async_mode == 'eventlet':
def run_server():
import eventlet
import eventlet.wsgi
eventlet_socket = eventlet.listen((host, port))

# If provided an SSL argument, use an SSL socket
Expand Down

0 comments on commit d604a7e

Please sign in to comment.