This commit is contained in:
Mark Veidemanis 2022-08-13 23:38:13 +01:00
parent a82355b660
commit a42c6be1b7
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":