提交 77acea9d 编写于 作者: D Dong Daxiang 提交者: GitHub

Merge pull request #115 from MRXLT/develop

fix client bug in python3
......@@ -73,7 +73,7 @@ class BertService():
server_ip = server.split(':')[0]
server_port = int(server.split(':')[1])
client.connect((server_ip, server_port))
client.send('pending server')
client.send(b'pending server')
response = client.recv(1024).decode()
response_list = response.split('\t')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册