aboutsummaryrefslogtreecommitdiffstats
path: root/python/examples/here-now-example.py
diff options
context:
space:
mode:
authorDevendra2013-12-18 23:23:22 +0530
committerDevendra2013-12-18 23:23:22 +0530
commit786390e9ee0024ab3061a9133700457b07ae0f80 (patch)
tree0aa0acda65ed1c51c68f138c0114055f6769374c /python/examples/here-now-example.py
parent1d601e3411af27c1b39e697849a538b692a535e7 (diff)
downloadpubnub-python-786390e9ee0024ab3061a9133700457b07ae0f80.tar.bz2
adding pam client support to python sdk
Diffstat (limited to 'python/examples/here-now-example.py')
-rw-r--r--python/examples/here-now-example.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/python/examples/here-now-example.py b/python/examples/here-now-example.py
index d2ca9bd..6c20405 100644
--- a/python/examples/here-now-example.py
+++ b/python/examples/here-now-example.py
@@ -23,8 +23,10 @@ ssl_on = len(sys.argv) > 5 and bool(sys.argv[5]) or False
## -----------------------------------------------------------------------
## Initiate Pubnub State
## -----------------------------------------------------------------------
+#pubnub = Pubnub( publish_key=publish_key, subscribe_key=subscribe_key,
+# secret_key=secret_key, cipher_key=cipher_key, ssl_on=ssl_on)
pubnub = Pubnub( publish_key=publish_key, subscribe_key=subscribe_key,
- secret_key=secret_key, cipher_key=cipher_key, ssl_on=ssl_on)
+ secret_key=secret_key, cipher_key=cipher_key, ssl_on=ssl_on, auth_key="temp1")
crazy = 'hello_world'
def print_cb(message):