commit f9bc65cc5614998ad49189d4089bec4dcdb10486
parent 72741790db75881ac35042d73179980cfa9df0d4
Author: Sandra Snan <sandra.snan@idiomdrottning.org>
Date: Wed, 13 Jan 2021 10:53:43 +0100
Strip trailing whitespace
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/txtv/txtv.py b/txtv/txtv.py
@@ -63,7 +63,7 @@ class Page:
and not cfg.getboolean('show', 'navigation_footer'):
pass
else:
- filtered += line + '\n'
+ filtered += line.rstrip() + '\n'
return filtered
def next_page(self):