aboutsummaryrefslogtreecommitdiffstats
path: root/python/examples/console.py
diff options
context:
space:
mode:
authorDevendra2014-04-25 23:56:15 +0530
committerDevendra2014-04-25 23:56:15 +0530
commit03eedf317ae660893f61bb919b48289b0bf971f3 (patch)
tree77cdcb3e881f3ba6dbad40468d1f5f73d68507f4 /python/examples/console.py
parent7568c30242ae3a9f4163248a29a596fab5902601 (diff)
downloadpubnub-python-03eedf317ae660893f61bb919b48289b0bf971f3.tar.bz2
changing history to get_history
Diffstat (limited to 'python/examples/console.py')
-rw-r--r--python/examples/console.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/examples/console.py b/python/examples/console.py
index dd499c5..225c7eb 100644
--- a/python/examples/console.py
+++ b/python/examples/console.py
@@ -256,7 +256,7 @@ class DevConsole(Cmd):
@options([make_option('-c', '--channel', action="store", help="Channel for history data"),
make_option('-n', '--count', action="store", default=5, help="Number of messages")
])
- def do_history(self, command, opts):
+ def do_get_history(self, command, opts):
opts.channel = self.default_channel if opts.channel is None else opts.channel
if opts.channel is None:
print_error("Missing channel")