Skip to content
Snippets Groups Projects
Commit 51208548 authored by m-guberina's avatar m-guberina
Browse files

forgot to add same fix to client_sender, now it's there

parent 3757a5dc
No related branches found
No related tags found
No related merge requests found
...@@ -133,6 +133,11 @@ def client_sender(args, init_command, queue): ...@@ -133,6 +133,11 @@ def client_sender(args, init_command, queue):
break break
except ConnectionRefusedError: except ConnectionRefusedError:
time.sleep(0.005) time.sleep(0.005)
except KeyboardInterrupt:
s.close()
if args.debug_prints:
print("NETWORKING_CLIENT: caught KeyboardInterrupt, i'm out")
return
if args.debug_prints: if args.debug_prints:
print("NETWORKING CLIENT_SENDER: connected to server") print("NETWORKING CLIENT_SENDER: connected to server")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment