remove sleep

This commit is contained in:
j 2023-10-12 12:44:26 +01:00
parent 872341bec0
commit 4e6a8d03f6

View file

@ -45,6 +45,7 @@ class Handler(BaseRequestHandler):
response = b'WAITING'
queue = True
socket = self.request[1]
logger.debug("respond to %s: %s", self.client_address[0], response)
socket.sendto(response, self.client_address)
if queue:
self.server.player.queue.put('')
@ -140,8 +141,6 @@ def main():
peer = (args.peer, args.peer_port)
time.sleep(10)
DEBUG = args.debug
if DEBUG:
log_format = '%(asctime)s:%(levelname)s:%(name)s:%(message)s'