diff options
| author | Devendra | 2014-04-24 01:33:45 +0530 |
|---|---|---|
| committer | Devendra | 2014-04-24 01:33:45 +0530 |
| commit | c98286f500b77dcf426367df0b688f536b77ea9b (patch) | |
| tree | 824bec40ca73311fb417e4caa80fb602f2e53acd /python/examples/here-now-example.py | |
| parent | c5d2fb446378e78e9e164dbea969edd57314dc4b (diff) | |
| download | pubnub-python-c98286f500b77dcf426367df0b688f536b77ea9b.tar.bz2 | |
fixing imports
Diffstat (limited to 'python/examples/here-now-example.py')
| -rw-r--r-- | python/examples/here-now-example.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/python/examples/here-now-example.py b/python/examples/here-now-example.py index 9bb448c..0bc3015 100644 --- a/python/examples/here-now-example.py +++ b/python/examples/here-now-example.py @@ -5,12 +5,9 @@ ## Copyright (c) 2010 Stephen Blum ## http://www.pubnub.com/ -## ----------------------------------- -## PubNub 3.1 Real-time Push Cloud API -## ----------------------------------- import sys -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' |
