From 0c5d755e1a27ac232e0c14fe003df4903c26e01b Mon Sep 17 00:00:00 2001 From: DJ2LS <75909252+DJ2LS@users.noreply.github.com> Date: Fri, 10 Feb 2023 10:31:33 +0100 Subject: [PATCH] forgot to adjust cq function --- tnc/sock.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tnc/sock.py b/tnc/sock.py index 76cc5e99..6904ee4e 100644 --- a/tnc/sock.py +++ b/tnc/sock.py @@ -253,7 +253,11 @@ class ThreadedTCPRequestHandler(socketserver.StreamRequestHandler): # CQ CQ CQ if received_json["command"] == "cqcqcq": - self.tnc_cqcqcq(received_json) + if TESTMODE: + ThreadedTCPRequestHandler.tnc_cqcqcq(None, received_json) + else: + self.tnc_cqcqcq(received_json) + # START_BEACON if received_json["command"] == "start_beacon": if TESTMODE: