bugfix
This commit is contained in:
parent
15b60050f8
commit
3ece881c60
@ -41,10 +41,7 @@ class OSCServer(EventDispatcher):
|
|||||||
def apihandle(self, api, *args):
|
def apihandle(self, api, *args):
|
||||||
data = json.loads(args[0])
|
data = json.loads(args[0])
|
||||||
sock, ip_address, response_port = self.osc_server.get_sender()
|
sock, ip_address, response_port = self.osc_server.get_sender()
|
||||||
self.dispatch(api,
|
self.dispatch('on_%s' % api, api, data)
|
||||||
{'address':address,
|
|
||||||
'data':data
|
|
||||||
})
|
|
||||||
if api == 'broadcast':
|
if api == 'broadcast':
|
||||||
return
|
return
|
||||||
if not address in self.clients:
|
if not address in self.clients:
|
||||||
|
Loading…
Reference in New Issue
Block a user