aboutsummaryrefslogtreecommitdiffstats
path: root/python-tornado/examples/history-example.py
diff options
context:
space:
mode:
authorDevendra2013-02-25 21:58:57 +0530
committerDevendra2013-02-25 21:58:57 +0530
commit2238067fbbe3fa6154150095f8a3b4b317a7c7dd (patch)
treec833872dc41a06b64ac173911763e091a7ced6f8 /python-tornado/examples/history-example.py
parent2ea3826d516fdf10a889e98ffab04a8f1d790650 (diff)
downloadpubnub-python-2238067fbbe3fa6154150095f8a3b4b317a7c7dd.tar.bz2
refactoring
Diffstat (limited to 'python-tornado/examples/history-example.py')
-rw-r--r--python-tornado/examples/history-example.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python-tornado/examples/history-example.py b/python-tornado/examples/history-example.py
index 5c6fb5b..c1619f4 100644
--- a/python-tornado/examples/history-example.py
+++ b/python-tornado/examples/history-example.py
@@ -11,7 +11,6 @@
import sys
import tornado
-sys.path.append('../')
from Pubnub import Pubnub
publish_key = len(sys.argv) > 1 and sys.argv[1] or 'demo'
@@ -31,6 +30,7 @@ crazy = 'hello_world'
## -----------------------------------------------------------------------
def history_complete(messages):
print(messages)
+ tornado.ioloop.IOLoop.instance().stop()
pubnub.history( {
'channel' : crazy,