bugfix
This commit is contained in:
parent
b9921c8610
commit
63becef4af
@ -80,7 +80,7 @@ class UdpWidget(EventDispatcher):
|
|||||||
return
|
return
|
||||||
print('received: data=', d)
|
print('received: data=', d)
|
||||||
cmd = d['c']
|
cmd = d['c']
|
||||||
f = self.inner_handler(cmd)
|
f = self.inner_handlers.get(cmd)
|
||||||
if f:
|
if f:
|
||||||
f(d, addr)
|
f(d, addr)
|
||||||
print('comm_callback():inner callback called(),', cmd)
|
print('comm_callback():inner callback called(),', cmd)
|
||||||
|
Loading…
Reference in New Issue
Block a user