From ac2cdedc45a07b1765366bf0295073294ab48b8c Mon Sep 17 00:00:00 2001 From: Devendra Date: Sat, 18 Jul 2015 01:13:53 +0530 Subject: wc unsub example --- python/examples/wildcard_subscribe.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'python/examples') 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): -- cgit v1.2.3