Correctie schrijf test
All checks were successful
build / build (push) Successful in 1m8s

This commit is contained in:
2025-03-15 21:12:38 +01:00
parent ee8ca45a59
commit 2cead40a74
2 changed files with 6 additions and 1 deletions

View File

@@ -13,6 +13,9 @@ Implements the following commands:
CMD> TI LMW
ANS< ! 20-JAN-01 00:00:00
CMD> WNT LMW,DUMMY,H1,+HH:MM,yyyy-mm-dd,HH:MM,NN/NN;NN/NN
ANS< ! 1/10,;2/10;....
CMD> WN LMW,DUMMY,H10,STAT
ANS< ! 20-JAN-01 00:00
@@ -98,6 +101,8 @@ class sipProtocol(socketserver.BaseRequestHandler):
self.send("!")
elif self.match("TI LMW"):
self.send("! 20-JAN-01 00:00:00")
elif self.match("WNT LMW,DUMMY,H10,"):
self.send("!")
elif self.match("WN LMW,DUMMY,H10,"):
if self.match("STAT"):
self.send("! 20-JAN-01 00:00")