From 5ff3fb2fe194cf56c3609371b7b9a413ade82b72 Mon Sep 17 00:00:00 2001 From: Kevin Hester Date: Tue, 23 Feb 2021 14:35:05 +0800 Subject: [PATCH] tests now pass again --- meshtastic/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meshtastic/test.py b/meshtastic/test.py index 1f71674..c81c085 100644 --- a/meshtastic/test.py +++ b/meshtastic/test.py @@ -27,7 +27,7 @@ def onReceive(packet, interface): print(f"From {interface.stream.port}: {packet}") p = DotMap(packet) - if p.decoded.data.portnum == "TEXT_MESSAGE_APP": + if p.decoded.portnum == "TEXT_MESSAGE_APP": # We only care a about clear text packets receivedPackets.append(p)