Skip to content
Snippets Groups Projects
Commit e473541a authored by David Hoese's avatar David Hoese Committed by bruce flynn utility bruce.flynn@ssec.wisc.edu
Browse files

Fix tail forever bug in read_frames

parent f5721114
No related branches found
No related tags found
No related merge requests found
......@@ -179,7 +179,8 @@ def read_frames(source, error_handler=lambda *a: None, tail=False):
line = fptr.readline()
if not line.strip():
time.sleep(0.1)
yield idx, line
continue
yield idx, line
idx += 1
else:
def gen():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment