API #67

Merged
Atheros1 merged 6 commits from master into master 2013-03-21 18:31:09 +01:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 48ff6c0c7e - Show all commits

View File

@ -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()

View File

@ -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':