test
This commit is contained in:
parent
6aa3a32fc4
commit
beac5b1f2d
@ -28,6 +28,8 @@ def handle_client(s: socket):
|
|||||||
|
|
||||||
while True:
|
while True:
|
||||||
fd, event = receive_event(s)
|
fd, event = receive_event(s)
|
||||||
|
if event[1] in [29, 97, 157]:
|
||||||
|
print(event)
|
||||||
if fd == 4294967295:
|
if fd == 4294967295:
|
||||||
s.close()
|
s.close()
|
||||||
for fd in d:
|
for fd in d:
|
||||||
|
Loading…
Reference in New Issue
Block a user