Fixed a bug in the function time_response

Signed-off-by: kirill <kirill.milkin05@mail.ru>
pull/3/head
kirill 3 years ago
parent 8e981e28f9
commit 5537418968

@ -17,4 +17,5 @@ async def time_response(ws: WebSocketResponse, delay: int = 60):
await ws.send_str(result_response)
await asyncio.sleep(delay)
except ConnectionResetError:
await asyncio.sleep(delay)
break
Loading…
Cancel
Save