This commit is contained in:
yumoqing 2021-07-15 22:55:07 -07:00
parent d31a22daf0
commit 15aa886368

View File

@ -5,6 +5,7 @@ except:
import time import time
import zlib import zlib
from kivy.logger import Logger
from kivy.event import EventDispatcher from kivy.event import EventDispatcher
from kivy.clock import Clock from kivy.clock import Clock
from appPublic.udp_comm import UdpComm from appPublic.udp_comm import UdpComm
@ -99,7 +100,7 @@ class UdpWidget(EventDispatcher):
self.dispatch(evt_name, evt_data) self.dispatch(evt_name, evt_data)
def my_event_handler(self, *args): def my_event_handler(self, *args):
Logger.info('UdpWidget: args=%s', args) pass
def set_pubkey(self, data, addr): def set_pubkey(self, data, addr):
pk = data['d']['pubkey'] pk = data['d']['pubkey']