diff options
Diffstat (limited to 'python/examples/here-now.py')
| -rw-r--r-- | python/examples/here-now.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/python/examples/here-now.py b/python/examples/here-now.py index f573389..d03a110 100644 --- a/python/examples/here-now.py +++ b/python/examples/here-now.py @@ -23,13 +23,12 @@ pubnub = Pubnub(publish_key=publish_key, subscribe_key=subscribe_key, channel = 'hello_world' - # Synchronous usage - print pubnub.here_now(channel) # Asynchronous usage + def callback(message): print(message) |
