mirror of
https://github.com/Sneed-Group/pypush-plus-plus
synced 2025-01-09 17:33:47 +00:00
bug
This commit is contained in:
parent
b5e9a1c4db
commit
91f9d7900e
1 changed files with 1 additions and 1 deletions
2
demo.py
2
demo.py
|
@ -282,7 +282,7 @@ if __name__ == "__main__":
|
|||
|
||||
args = parser.parse_args()
|
||||
|
||||
if not args.pdu.startswith("REG-RESP"):
|
||||
if args.pdu is not None and not args.pdu.startswith("REG-RESP"):
|
||||
print("Invalid REG-RESP PDU")
|
||||
exit(1)
|
||||
|
||||
|
|
Loading…
Reference in a new issue