mirror of
https://github.com/Sneed-Group/pypush-plus-plus
synced 2024-12-24 03:42:43 -06:00
Fix manual PDU method for SMS registration
This commit is contained in:
parent
b1bbac4b65
commit
a44aee6d3f
1 changed files with 1 additions and 1 deletions
2
demo.py
2
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)
|
||||
|
|
Loading…
Reference in a new issue