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 api.add(2,3)
|
||||||
|
|
||||||
print 'Let\'s set the status bar message.'
|
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 'Let\'s list our addresses:'
|
||||||
print api.listAddresses()
|
print api.listAddresses()
|
||||||
|
|
|
@ -3323,7 +3323,7 @@ class MySimpleXMLRPCRequestHandler(SimpleXMLRPCRequestHandler):
|
||||||
elif method == 'add':
|
elif method == 'add':
|
||||||
(a,b) = params
|
(a,b) = params
|
||||||
return a+b
|
return a+b
|
||||||
elif method == 'statusbar':
|
elif method == 'statusBar':
|
||||||
message, = params
|
message, = params
|
||||||
apiSignalQueue.put(('updateStatusBar',message))
|
apiSignalQueue.put(('updateStatusBar',message))
|
||||||
elif method == 'listAddresses':
|
elif method == 'listAddresses':
|
||||||
|
|
Reference in New Issue
Block a user