Skip to content

Commit

Permalink
Print logs as soon as possible
Browse files Browse the repository at this point in the history
Fixes #3
  • Loading branch information
yan12125 committed Jun 5, 2023
1 parent 3c96cad commit ade56bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions logcatcolor/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,5 +139,6 @@ def layout_line(self, line):
return

self.writer.write((result + "\n").encode('utf-8'))
self.writer.flush()
finally:
self.format.data.clear()

0 comments on commit ade56bd

Please sign in to comment.