This commit is contained in:
Surferlul 2022-07-22 23:44:38 +02:00
parent 6aa3a32fc4
commit beac5b1f2d

View File

@ -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: