diff options
Diffstat (limited to 'python/examples/history-example.py')
| -rwxr-xr-x | python/examples/history-example.py | 7 | 
1 files changed, 3 insertions, 4 deletions
| diff --git a/python/examples/history-example.py b/python/examples/history-example.py index bf78c7d..b5cc1fd 100755 --- a/python/examples/history-example.py +++ b/python/examples/history-example.py @@ -4,12 +4,11 @@ sys.path.append('./')  from Pubnub import Pubnub  ## Initiat Class -pubnub = Pubnub( 'demo', 'demo', None, False ) +pubnub = Pubnub('demo', 'demo', None, False)  ## History Example  history = pubnub.history({ -    'channel' : 'hello_world', -    'limit'   : 1 +    'channel': 'hello_world', +    'limit': 1  })  print(history) - | 
