diff options
Diffstat (limited to 'epubgrep.py')
-rwxr-xr-x | epubgrep.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epubgrep.py b/epubgrep.py index 9118787..74a7c8a 100755 --- a/epubgrep.py +++ b/epubgrep.py @@ -74,7 +74,7 @@ def grep_book(filename: str, pattern: str, flags: int, counting: bool=False, col found_line = decoded_line.replace( res.group(1), "\033[31;1m" + res.group(1) + "\033[31;0m") - print('{}\n'.format(found_line)) + print('{}'.format(found_line)) else: print(decoded_line) |