From 396f155eb27202122e7d79ec8cfee6bf6b733550 Mon Sep 17 00:00:00 2001 From: shouzy <82171453+realshouzy@users.noreply.github.com> Date: Thu, 16 May 2024 00:11:33 +0200 Subject: [PATCH] Fix `Server` --- nrw/network/_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nrw/network/_server.py b/nrw/network/_server.py index af2b662..89816a0 100644 --- a/nrw/network/_server.py +++ b/nrw/network/_server.py @@ -124,8 +124,8 @@ def __init__(self, client_socket: socket.socket | None, server: Server) -> None: self._active: bool = False self._socket_wrapper: _ClientSocketWrapper = _ClientSocketWrapper(client_socket) if client_socket is not None: - self.start() self._active = True + self.start() @override def run(self) -> None: