Skip to content
Browse files

Merge pull request #6 from frwickst/basehandler-fixes

Add chunk parameter of overloaded finish method
  • Loading branch information...
2 parents a018cc1 + 2737f65 commit 8a3637dfdce3f3a7f8174e44aba058062c18b3c3 @flaviogrossi committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 sockjs/cyclone/basehandler.py
View
4 sockjs/cyclone/basehandler.py
@@ -32,11 +32,11 @@ def _log_disconnect(self):
self.server.stats.connectionClosed()
self.logged = False
- def finish(self):
+ def finish(self, chunk=None):
""" Cyclone C{finish} handler """
self._log_disconnect()
- super(BaseHandler, self).finish()
+ super(BaseHandler, self).finish(chunk)
def on_connection_close(self, reason):
self._log_disconnect()

0 comments on commit 8a3637d

Please sign in to comment.
Something went wrong with that request. Please try again.