From e473541a66da188e646b4e38ccffd1c8f0652f1d Mon Sep 17 00:00:00 2001 From: davidh <david.hoese@ssec.wisc.edu> Date: Tue, 19 Apr 2016 21:17:24 +0000 Subject: [PATCH] Fix tail forever bug in read_frames --- aosstower/l00/parser.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aosstower/l00/parser.py b/aosstower/l00/parser.py index 483c26f..f55f03e 100644 --- a/aosstower/l00/parser.py +++ b/aosstower/l00/parser.py @@ -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(): -- GitLab