wait after starting hamlib for beeing ready

This commit is contained in:
DJ2LS 2021-09-03 16:56:58 +02:00 committed by GitHub
parent d0568502c5
commit df90224318
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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