invert ping check
This commit is contained in:
parent
a14c7c34a2
commit
bdfb91b51d
1 changed files with 1 additions and 1 deletions
|
@ -301,7 +301,7 @@ class Server(IServer):
|
|||
line = done.result()
|
||||
self._process_queue.append(line)
|
||||
elif done.result() is None:
|
||||
if ping_sent:
|
||||
if not ping_sent:
|
||||
await self.send(build("PING", ["hello"]))
|
||||
ping_sent = True
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue