adjust API command capitalization
This commit is contained in:
parent
b37102e907
commit
48ff6c0c7e
|
@ -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()
|
||||
|
|
|
@ -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':
|
||||
|
|
Loading…
Reference in New Issue
Block a user