#2041: Correct return value from receive()

This commit is contained in:
Nick Todd
2023-11-21 11:16:34 +00:00
parent 813a1f356e
commit 4f0f758ce9

View File

@@ -76,6 +76,5 @@ class NTPServer(Service):
f"with current time: {time}"
)
# send reply
if self.send(payload, session_id):
return True
return False
self.send(payload, session_id)
return True