From 6de09ecffd65de3a6ad21d9a08cf41a723c0ca0b Mon Sep 17 00:00:00 2001 From: swee Date: Sun, 26 Jan 2025 01:06:47 -0800 Subject: [PATCH] Update server.py --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index 526e85f..b8354c4 100644 --- a/server.py +++ b/server.py @@ -754,7 +754,7 @@ def tcp_session(sock): print("Waiting for connection...") connection, client = sock.accept() ip_to = restrict_ip - threading.Thread(target=session, daemon=True, args=[context.wrap_socket(connection, client, ip_to]).start() + threading.Thread(target=session, daemon=True, args=[connection, client, ip_to]).start() except: print("Something went wrong...") print(traceback.format_exc())