This commit is contained in:
JJTech0130 2023-09-03 11:28:51 -04:00
parent 1aabd4e221
commit b1bbac4b65
No known key found for this signature in database
GPG key ID: 23C92EBCCF8F93D6

View file

@ -23,7 +23,7 @@ def register(push_token: bytes, no_parse = False, gateway = None) -> tuple[str,
if no_parse:
print("Now do the next part and rerun with --pdu")
exit()
parse_pdu(r.text, req_id)
return parse_pdu(r.text, req_id)
# if r.text.split("?")[0] != "REG-RESP":
# raise Exception(f"Failed to register: {r.text}")