From cb6f7097c2c4c5a36c37015e304247209eb7d877 Mon Sep 17 00:00:00 2001 From: geeksville Date: Tue, 8 Sep 2020 09:58:23 -0700 Subject: [PATCH] fix #12 "meshtastic --sendtext fish --dest '!2462abf84098'" now works --- meshtastic/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meshtastic/__init__.py b/meshtastic/__init__.py index ef519f4..5812c7e 100644 --- a/meshtastic/__init__.py +++ b/meshtastic/__init__.py @@ -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