aboutsummaryrefslogtreecommitdiffstats
path: root/epubgrep.py
diff options
context:
space:
mode:
Diffstat (limited to 'epubgrep.py')
-rwxr-xr-xepubgrep.py2
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)