Update server.py
This commit is contained in:
parent
6c1a890670
commit
0a0fc636fd
1 changed files with 1 additions and 0 deletions
|
@ -449,6 +449,7 @@ def session(connection, client):
|
|||
print(traceback.format_exc())
|
||||
try:
|
||||
while opened:
|
||||
print("Waiting for connection...")
|
||||
connection, client = tcp_socket.accept()
|
||||
threading.Thread(target=session, daemon=True, args=[connection, client]).start()
|
||||
except:
|
||||
|
|
Loading…
Reference in a new issue