commit 3b5d4a2b03c1d8c15d2f47f16bfbd743ddacb082
parent ffbabed7d6cf8488e9000fee703d7ab70fa6a8ed
Author: Joris Vink <joris@coders.se>
Date: Mon, 13 Mar 2017 13:31:36 +0100
update example
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/python/src/websockets.py b/examples/python/src/websockets.py
@@ -38,7 +38,7 @@ def onconnect(c):
#
def onmessage(c, op, data):
kore.websocket_broadcast(c, op, data, kore.WEBSOCKET_BROADCAST_GLOBAL)
- #kore.websocket_send(c, op, data)
+ #c.websocket_send(op, data)
#
# Called for every connection that goes byebye.