Prechádzať zdrojové kódy

Corrected another error in README example code

Taddeus Kroes 12 rokov pred
rodič
commit
80ac440e57
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -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()