From df902243185c8c56e2a9959673e2372f306c56b9 Mon Sep 17 00:00:00 2001 From: DJ2LS <75909252+DJ2LS@users.noreply.github.com> Date: Fri, 3 Sep 2021 16:56:58 +0200 Subject: [PATCH] wait after starting hamlib for beeing ready --- tnc/daemon.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tnc/daemon.py b/tnc/daemon.py index 0ca5066d..db5f3455 100644 --- a/tnc/daemon.py +++ b/tnc/daemon.py @@ -136,6 +136,7 @@ class CMDTCPRequestHandler(socketserver.BaseRequestHandler): " --set-conf=dtr_state=" + dtr_state try: p = subprocess.Popen(command, shell=True) + time.sleep(0.3) except: print("hamlib not started") sys.exit()