Use integer indices
This commit is contained in:
parent
fe4a8a01d4
commit
54d3a962ca
@ -246,7 +246,7 @@ class HBMASTER(DatagramProtocol):
|
|||||||
for _client in self._clients:
|
for _client in self._clients:
|
||||||
if _client != _radio_id:
|
if _client != _radio_id:
|
||||||
self.send_client(_client, _data)
|
self.send_client(_client, _data)
|
||||||
logger.debug('(%s) Packet repeated to client: %s (%s)', self._master, _client['CALLSIGN'], int_id(_client))
|
logger.debug('(%s) Packet repeated to client: %s (%s)', self._master, _client[int_id(_client)]['CALLSIGN'], int_id(_client))
|
||||||
|
|
||||||
# Userland actions -- typically this is the function you subclass for an application
|
# Userland actions -- typically this is the function you subclass for an application
|
||||||
self.dmrd_received(_radio_id, _rf_src, _dst_id, _seq, _slot, _call_type, _frame_type, _stream_id, _data)
|
self.dmrd_received(_radio_id, _rf_src, _dst_id, _seq, _slot, _call_type, _frame_type, _stream_id, _data)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user