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: