提交 e12d7269 编写于 作者: G gongweibao

fix by helin's comments

上级 26e661bc
...@@ -106,7 +106,7 @@ def recordio(paths, buf_size=100): ...@@ -106,7 +106,7 @@ def recordio(paths, buf_size=100):
while True: while True:
r, err = client.next_record() r, err = client.next_record()
if r is None: if err < 0:
break break
yield r yield r
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册