mirror of
https://github.com/JJTech0130/pypush.git
synced 2025-01-23 11:48:30 +00:00
bug
This commit is contained in:
parent
b5e9a1c4db
commit
91f9d7900e
2
demo.py
2
demo.py
@ -282,7 +282,7 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
args = parser.parse_args()
|
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")
|
print("Invalid REG-RESP PDU")
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user