From ecf30d33978e26150bf41ff60b97ff00ab5d5f96 Mon Sep 17 00:00:00 2001 From: Hemna Date: Tue, 29 Oct 2024 09:52:39 -0400 Subject: [PATCH] Fixed issue in send_message command Send Message was using an old mechanism for logging ack packets. This patch fixes that problem. --- aprsd/cmds/send_message.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aprsd/cmds/send_message.py b/aprsd/cmds/send_message.py index 5de3cff..4288b44 100644 --- a/aprsd/cmds/send_message.py +++ b/aprsd/cmds/send_message.py @@ -14,6 +14,7 @@ from aprsd.client import client_factory from aprsd.main import cli import aprsd.packets # noqa : F401 from aprsd.packets import collector +from aprsd.packets import log as packet_log from aprsd.threads import tx @@ -103,7 +104,7 @@ def send_message( cl = client_factory.create() packet = cl.decode_packet(packet) collector.PacketCollector().rx(packet) - packet.log("RX") + packet_log.log(packet, tx=False) # LOG.debug("Got packet back {}".format(packet)) if isinstance(packet, packets.AckPacket): got_ack = True