Skip to content

Commit

Permalink
monkey patch early
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelgrinberg committed Mar 16, 2014
1 parent c5f60e0 commit 4f9d0fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flask_socketio/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
from gevent import monkey
monkey.patch_all()

from socketio import socketio_manage
from socketio.server import SocketIOServer
from socketio.namespace import BaseNamespace
Expand All @@ -7,8 +9,6 @@
from werkzeug.serving import run_with_reloader
from test_client import SocketIOTestClient

monkey.patch_all()


class SocketIOMiddleware(object):
def __init__(self, app, socket):
Expand Down

0 comments on commit 4f9d0fa

Please sign in to comment.