Fix argument to wait_until
This commit is contained in:
parent
026f2e2a8c
commit
b2bc780994
@ -1145,7 +1145,7 @@ class SingleNodeConnCB(NodeConnCB):
|
||||
def received_pong():
|
||||
return (self.last_pong.nonce == self.ping_counter)
|
||||
self.send_message(msg_ping(nonce=self.ping_counter))
|
||||
success = wait_until(received_pong, timeout)
|
||||
success = wait_until(received_pong, timeout=timeout)
|
||||
self.ping_counter += 1
|
||||
return success
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user