diff options
| author | Devendra | 2014-05-07 12:13:17 +0530 |
|---|---|---|
| committer | Devendra | 2014-05-07 12:13:17 +0530 |
| commit | 1b49e712e12ba833f460324b95969b162d464edf (patch) | |
| tree | aefbb53635e8e3ae60c3892bf5c27eff0175b0f9 /python/examples/here-now.py | |
| parent | a38e680ae11453c2f3d5082c2ad39004366a9ad7 (diff) | |
| download | pubnub-python-1b49e712e12ba833f460324b95969b162d464edf.tar.bz2 | |
console changes and pep8 compliance
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) |
