Commit 22dd594f authored by Taddeüs Kroes's avatar Taddeüs Kroes

Forgot argument of WebSocket.onping()

parent 92cde0c7
...@@ -150,7 +150,7 @@ class WebSocket(object): ...@@ -150,7 +150,7 @@ class WebSocket(object):
self.send_frame(ControlFrame(OPCODE_PING, payload)) self.send_frame(ControlFrame(OPCODE_PING, payload))
self.ping_payload = payload self.ping_payload = payload
self.ping_sent = True self.ping_sent = True
self.onping() self.onping(payload)
def handle_close(self, code=None, reason=''): def handle_close(self, code=None, reason=''):
""" """
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment