forgot to adjust cq function

This commit is contained in:
DJ2LS 2023-02-10 10:31:33 +01:00
parent 14269a718b
commit 0c5d755e1a

View file

@ -253,7 +253,11 @@ class ThreadedTCPRequestHandler(socketserver.StreamRequestHandler):
# CQ CQ CQ # CQ CQ CQ
if received_json["command"] == "cqcqcq": if received_json["command"] == "cqcqcq":
if TESTMODE:
ThreadedTCPRequestHandler.tnc_cqcqcq(None, received_json)
else:
self.tnc_cqcqcq(received_json) self.tnc_cqcqcq(received_json)
# START_BEACON # START_BEACON
if received_json["command"] == "start_beacon": if received_json["command"] == "start_beacon":
if TESTMODE: if TESTMODE: