fix by helin's comments

gangliao-patch-1
gongweibao 8 years ago
parent 26e661bc51
commit e12d7269ff

@ -106,7 +106,7 @@ def recordio(paths, buf_size=100):
while True:
r, err = client.next_record()
if r is None:
if err < 0:
break
yield r

Loading…
Cancel
Save