From c98286f500b77dcf426367df0b688f536b77ea9b Mon Sep 17 00:00:00 2001 From: Devendra Date: Thu, 24 Apr 2014 01:33:45 +0530 Subject: fixing imports --- python/examples/publish-example.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'python/examples/publish-example.py') diff --git a/python/examples/publish-example.py b/python/examples/publish-example.py index 69ea053..1c57e4b 100755 --- a/python/examples/publish-example.py +++ b/python/examples/publish-example.py @@ -5,13 +5,8 @@ ## Copyright (c) 2010 Stephen Blum ## http://www.pubnub.com/ -## ----------------------------------- -## PubNub 3.1 Real-time Push Cloud API -## ----------------------------------- - import sys -from twisted.internet import reactor -from Pubnub import Pubnub +from Pubnub import PubnubAsync as Pubnub publish_key = len(sys.argv) > 1 and sys.argv[1] or 'demo' subscribe_key = len(sys.argv) > 2 and sys.argv[2] or 'demo' -- cgit v1.2.3