bugfix
This commit is contained in:
parent
4af076798a
commit
8eea5b6882
@ -60,6 +60,9 @@ class UdpWidget(EventDispatcher):
|
|||||||
}
|
}
|
||||||
bd = self.dataencoder.pack('none', d, uncrypt=True)
|
bd = self.dataencoder.pack('none', d, uncrypt=True)
|
||||||
self.udp_transport.broadcast(bd)
|
self.udp_transport.broadcast(bd)
|
||||||
|
return
|
||||||
|
"""
|
||||||
|
# seem to not need to wait
|
||||||
if peer_id is None:
|
if peer_id is None:
|
||||||
# print('get_peer_pubkey():return')
|
# print('get_peer_pubkey():return')
|
||||||
return
|
return
|
||||||
@ -71,6 +74,7 @@ class UdpWidget(EventDispatcher):
|
|||||||
if self.dataencoder.exist_peer_publickeys(peer_id):
|
if self.dataencoder.exist_peer_publickeys(peer_id):
|
||||||
return self.dataencder.public_keys[peer_id]
|
return self.dataencder.public_keys[peer_id]
|
||||||
raise Exception('timeout')
|
raise Exception('timeout')
|
||||||
|
"""
|
||||||
|
|
||||||
def comm_callback(self, data, addr):
|
def comm_callback(self, data, addr):
|
||||||
# print('comm_callback():', data, 'addr=', addr)
|
# print('comm_callback():', data, 'addr=', addr)
|
||||||
|
@ -1 +1 @@
|
|||||||
__version__ = '0.4.1'
|
__version__ = '0.4.2'
|
||||||
|
Loading…
Reference in New Issue
Block a user