Skip to content

Commit

Permalink
Solve issue 39 make tgentools parse stream events with a date filter
Browse files Browse the repository at this point in the history
  • Loading branch information
hiromipaw committed Jul 22, 2022
1 parent 3e36a87 commit 7d0a69d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/tgentools/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ def __parse_line(self, line, do_complete):
if not self.__is_date_valid(line_date):
return True

elif do_complete and re.search("stream-status", line) is not None:
if do_complete and re.search("stream-status", line) is not None:
status = StreamStatusEvent(line)
stream = self.state.setdefault(status.stream_id, Stream(status.stream_id))
stream.add_event(status)
Expand Down

0 comments on commit 7d0a69d

Please sign in to comment.