diff --git a/modules/regproc.py b/modules/regproc.py index facf120..6037ddd 100644 --- a/modules/regproc.py +++ b/modules/regproc.py @@ -168,9 +168,10 @@ def registerTest(c): confirmRegistration(c["net"], c["num"]) return if sinst["checktype"] == "msg": - if sinst["checkmsg"] in c["msg"]: - confirmRegistration(c["net"], c["num"]) - return + if "msg" in c.keys(): + if sinst["checkmsg"] in c["msg"]: + confirmRegistration(c["net"], c["num"]) + return elif sinst["checktype"] == "mode": if c["type"] == "self": if c["mtype"] == "mode":