From a44aee6d3f82f23d31642b4261877cf5a584d845 Mon Sep 17 00:00:00 2001 From: Keagan Peterson Date: Sat, 16 Sep 2023 21:11:02 -0500 Subject: [PATCH] Fix manual PDU method for SMS registration --- demo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo.py b/demo.py index 0065f15..87d8d06 100644 --- a/demo.py +++ b/demo.py @@ -108,7 +108,7 @@ async def main(args: argparse.Namespace): phone_sig = b64decode(CONFIG["phone"].get("sig")) phone_number = CONFIG["phone"].get("number") elif args.pdu is not None: - sms_registration.parse_pdu(args.pdu, None) + phone_number, phone_sig = sms_registration.parse_pdu(args.pdu, None) else: import sms_registration phone_number, phone_sig = sms_registration.register(conn.credentials.token, args.trigger_pdu)