From 48ff6c0c7e7972a90765d202eb46c8b12529bdd4 Mon Sep 17 00:00:00 2001 From: Jonathan Warren Date: Tue, 19 Mar 2013 14:39:24 -0400 Subject: [PATCH] adjust API command capitalization --- api client.py | 2 +- bitmessagemain.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api client.py b/api client.py index 4e896691..ab6b6b9a 100644 --- a/api client.py +++ b/api client.py @@ -13,7 +13,7 @@ print api.helloWorld(inputstr1, inputstr2) print api.add(2,3) print 'Let\'s set the status bar message.' -print api.statusbar("new status bar message") +print api.statusBar("new status bar message") print 'Let\'s list our addresses:' print api.listAddresses() diff --git a/bitmessagemain.py b/bitmessagemain.py index 37b2b8f4..a2f9d609 100755 --- a/bitmessagemain.py +++ b/bitmessagemain.py @@ -3323,7 +3323,7 @@ class MySimpleXMLRPCRequestHandler(SimpleXMLRPCRequestHandler): elif method == 'add': (a,b) = params return a+b - elif method == 'statusbar': + elif method == 'statusBar': message, = params apiSignalQueue.put(('updateStatusBar',message)) elif method == 'listAddresses':