Skip to content

Commit

Permalink
Add **kwargs to WebSocketHandler.__init__
Browse files Browse the repository at this point in the history
  • Loading branch information
bdarnell committed Apr 25, 2011
1 parent 8a2c417 commit b8faecd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tornado/websocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,9 @@ def on_close(self):
This script pops up an alert box that says "You said: Hello, world".
"""
def __init__(self, application, request):
tornado.web.RequestHandler.__init__(self, application, request)
def __init__(self, application, request, **kwargs):
tornado.web.RequestHandler.__init__(self, application, request,
**kwargs)
self.stream = request.connection.stream
self.client_terminated = False
self._waiting = None
Expand Down

0 comments on commit b8faecd

Please sign in to comment.