aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDevendra2015-07-18 01:13:53 +0530
committerDevendra2015-07-18 01:13:53 +0530
commitac2cdedc45a07b1765366bf0295073294ab48b8c (patch)
treedb08f34e3d72a4fa218b2589423b53ca7a4f1872
parent03b4fb1d2cc3b781b9ddcba468c90694b7361736 (diff)
downloadpubnub-python-ac2cdedc45a07b1765366bf0295073294ab48b8c.tar.bz2
wc unsub exampledevelop
-rw-r--r--python/examples/wildcard_subscribe.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/examples/wildcard_subscribe.py b/python/examples/wildcard_subscribe.py
index c78f83d..b2a7e76 100644
--- a/python/examples/wildcard_subscribe.py
+++ b/python/examples/wildcard_subscribe.py
@@ -70,6 +70,8 @@ def c():
def callback(message1, channel1, real_channel=None):
print(channel1 + " : " + real_channel + " : " + str(message1))
+ pubnub.unsubscribe(channel="c.*")
+ print pubnub.publish(channel=channel, message="c1")
def error(message):