This commit is contained in:
Mark Veidemanis 2022-08-13 23:38:13 +01:00
parent 15523bed96
commit a0761ff1ae
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 4 additions and 3 deletions

View File

@ -168,9 +168,10 @@ def registerTest(c):
confirmRegistration(c["net"], c["num"]) confirmRegistration(c["net"], c["num"])
return return
if sinst["checktype"] == "msg": if sinst["checktype"] == "msg":
if sinst["checkmsg"] in c["msg"]: if "msg" in c.keys():
confirmRegistration(c["net"], c["num"]) if sinst["checkmsg"] in c["msg"]:
return confirmRegistration(c["net"], c["num"])
return
elif sinst["checktype"] == "mode": elif sinst["checktype"] == "mode":
if c["type"] == "self": if c["type"] == "self":
if c["mtype"] == "mode": if c["mtype"] == "mode":