Skip to content

Commit

Permalink
Merge pull request #40 from hiromipaw/39-tgentools-date-filter
Browse files Browse the repository at this point in the history
Solve issue 39 make tgentools parse stream events with a date filter
  • Loading branch information
robgjansen authored Jul 22, 2022
2 parents 3e36a87 + 7d0a69d commit 7a5cf45
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 7a5cf45

Please sign in to comment.