提交 15ad494b 编写于 作者: Y Yu Yang

Fit output

上级 8034ec02
...@@ -75,7 +75,10 @@ def worker(): ...@@ -75,7 +75,10 @@ def worker():
trace = traceback.format_exc() trace = traceback.format_exc()
recvQ.put((False, trace)) recvQ.put((False, trace))
continue continue
recvQ.put((True, r.tolist())) if isinstance(r, list):
recvQ.put((True, [elem.tolist() for elem in r]))
else:
recvQ.put((True, r.tolist()))
if __name__ == '__main__': if __name__ == '__main__':
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册