diff options
| author | Devendra | 2013-02-25 21:58:57 +0530 |
|---|---|---|
| committer | Devendra | 2013-02-25 21:58:57 +0530 |
| commit | 2238067fbbe3fa6154150095f8a3b4b317a7c7dd (patch) | |
| tree | c833872dc41a06b64ac173911763e091a7ced6f8 /python-tornado/examples/history-example.py | |
| parent | 2ea3826d516fdf10a889e98ffab04a8f1d790650 (diff) | |
| download | pubnub-python-2238067fbbe3fa6154150095f8a3b4b317a7c7dd.tar.bz2 | |
refactoring
Diffstat (limited to 'python-tornado/examples/history-example.py')
| -rw-r--r-- | python-tornado/examples/history-example.py | 2 |
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, |
