Commit 80ac440e authored by Taddeüs Kroes's avatar Taddeüs Kroes

Corrected another error in README example code

parent 64be404f
......@@ -130,7 +130,7 @@ Basic usage
print 'Received message "%s"' % message.payload
client.send(wspy.TextMessage(message.payload))
def onclose(self, client):
def onclose(self, client, code, reason):
print 'Client %s disconnected' % client
EchoServer(('', 8000)).run()
......
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