Commit d4362ea8 authored by Taddeüs Kroes's avatar Taddeüs Kroes

Corrected error in example code

parent e2c61265
......@@ -79,7 +79,7 @@ Basic usage
print 'Received message "%s"' % message.payload
self.send(wspy.TextMessage(message.payload))
def onclose(self, message):
def onclose(self, code, reason):
print 'Connection closed'
server = wspy.websocket()
......
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