mirror of
https://github.com/meshtastic/python.git
synced 2026-01-14 02:38:00 -05:00
fix #12 "meshtastic --sendtext fish --dest '!2462abf84098'" now works
This commit is contained in:
@@ -162,7 +162,7 @@ class MeshInterface:
|
||||
elif destinationId == BROADCAST_ADDR:
|
||||
nodeNum = BROADCAST_NUM
|
||||
else:
|
||||
nodeNum = self.nodes[destinationId].num
|
||||
nodeNum = self.nodes[destinationId]['num']
|
||||
|
||||
meshPacket.to = nodeNum
|
||||
meshPacket.want_ack = wantAck
|
||||
|
||||
Reference in New Issue
Block a user