提交 55461612 编写于 作者: C ceci3

update encode

上级 80ca5f9a
......@@ -60,7 +60,7 @@ class SANAS(object):
self._init_temperature = init_temperature
self._is_server = is_server
self._configs = configs
self._key = hashlib.md5(str(self._configs)).hexdigest()
self._key = hashlib.md5(str(self._configs).encode("utf-8")).hexdigest()
server_ip, server_port = server_addr
if server_ip == None or server_ip == "":
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册