mirror of
https://github.com/Sneed-Group/pypush-plus-plus
synced 2025-01-09 17:33:47 +00:00
bug fix
This commit is contained in:
parent
1aabd4e221
commit
b1bbac4b65
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ def register(push_token: bytes, no_parse = False, gateway = None) -> tuple[str,
|
||||||
if no_parse:
|
if no_parse:
|
||||||
print("Now do the next part and rerun with --pdu")
|
print("Now do the next part and rerun with --pdu")
|
||||||
exit()
|
exit()
|
||||||
parse_pdu(r.text, req_id)
|
return parse_pdu(r.text, req_id)
|
||||||
|
|
||||||
# if r.text.split("?")[0] != "REG-RESP":
|
# if r.text.split("?")[0] != "REG-RESP":
|
||||||
# raise Exception(f"Failed to register: {r.text}")
|
# raise Exception(f"Failed to register: {r.text}")
|
||||||
|
|
Loading…
Reference in a new issue