Update server.py
All checks were successful
/ check (push) Successful in 11s

This commit is contained in:
Nova Cat 2025-01-26 01:06:47 -08:00
parent ae23a08881
commit 6de09ecffd

View file

@ -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())