This commit is contained in:
yumoqing 2021-07-15 22:52:21 -07:00
parent 1eacc379c3
commit d31a22daf0

View File

@ -98,8 +98,8 @@ class UdpWidget(EventDispatcher):
print('udp_widget.py dispatch', evt_name, evt_data)
self.dispatch(evt_name, evt_data)
def my_event_handler(self, o, d):
Logger.info('UdpWidget: received data=%s', d)
def my_event_handler(self, *args):
Logger.info('UdpWidget: args=%s', args)
def set_pubkey(self, data, addr):
pk = data['d']['pubkey']