diff options
Diffstat (limited to 'python-tornado/examples/history-example.py')
| -rw-r--r-- | python-tornado/examples/history-example.py | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/python-tornado/examples/history-example.py b/python-tornado/examples/history-example.py index 879568b..3a5fd88 100644 --- a/python-tornado/examples/history-example.py +++ b/python-tornado/examples/history-example.py @@ -21,6 +21,7 @@ ssl_on = len(sys.argv) > 5 and bool(sys.argv[5]) or False  pubnub = Pubnub(publish_key, subscribe_key, secret_key, cipher_key, ssl_on)  channel = 'hello_world' +  def history_complete(messages):      print(messages)      pubnub.stop() | 
