From 5270b532091720a9ff456d43761f9ba6825fc659 Mon Sep 17 00:00:00 2001 From: Quentin De Coninck Date: Thu, 23 Feb 2017 14:39:34 +0100 Subject: [PATCH] msg: fix server issue --- src/msg_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msg_server.py b/src/msg_server.py index 564221f..e5c33e3 100644 --- a/src/msg_server.py +++ b/src/msg_server.py @@ -56,7 +56,7 @@ class HandleClientConnectionThread(threading.Thread): time.sleep(args.sleep) response = string_generator(size=self.msg_size, chars=string.digits) start_time = datetime.datetime.now() - self.connection.sendall(response).encode(ENCODING) + self.connection.sendall(response.encode(ENCODING)) buffer_data = "" elif len(buffer_data) > self.msg_size: