tests now pass again

This commit is contained in:
Kevin Hester
2021-02-23 14:35:05 +08:00
parent 3ef6c5e3ab
commit 5ff3fb2fe1

View File

@@ -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)