More stability.
This commit is contained in:
parent
800885367d
commit
6e529c4bc7
13
list.py
13
list.py
@ -126,8 +126,13 @@ def client():
|
|||||||
client_socket.close()
|
client_socket.close()
|
||||||
|
|
||||||
if mode == 0:
|
if mode == 0:
|
||||||
print('To start own server change python file.\n')
|
print('To start own server change python file.\n')
|
||||||
client()
|
client()
|
||||||
else:
|
else:
|
||||||
server()
|
while True:
|
||||||
|
try:
|
||||||
|
server()
|
||||||
|
except KeyboardInterrupt:
|
||||||
|
exit()
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user