aboutsummaryrefslogtreecommitdiffstats
path: root/python-tornado/examples
diff options
context:
space:
mode:
authorDevendra2014-04-24 00:16:57 +0530
committerDevendra2014-04-24 00:16:57 +0530
commit493e29a108255eb3ae3166dc920f40e2f4e5c4c4 (patch)
treebce73bc6014e0b10820ebc1393515f7e3e521b88 /python-tornado/examples
parentf7b89bfafae34fa22509c1d1c59d1284ec62c5df (diff)
downloadpubnub-python-493e29a108255eb3ae3166dc920f40e2f4e5c4c4.tar.bz2
adding single file for all platforms
Diffstat (limited to 'python-tornado/examples')
-rw-r--r--python-tornado/examples/here-now-example.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/python-tornado/examples/here-now-example.py b/python-tornado/examples/here-now-example.py
index 6e69d53..c701daf 100644
--- a/python-tornado/examples/here-now-example.py
+++ b/python-tornado/examples/here-now-example.py
@@ -10,9 +10,7 @@
## -----------------------------------
import sys
-sys.path.append('..')
-sys.path.append('../../common')
-from Pubnub import Pubnub
+from Pubnub import PubnubTornado 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'