From 4879895154c594ab1dba20c02801e398419226a7 Mon Sep 17 00:00:00 2001 From: jaseg Date: Tue, 2 Apr 2013 02:52:18 +0200 Subject: Remove trailing spaces --- pixelterm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pixelterm.py b/pixelterm.py index 2713f06..2cc1553 100755 --- a/pixelterm.py +++ b/pixelterm.py @@ -53,7 +53,7 @@ def termify_pixels(img): if colbot == coltop: c,te,be = cf,te,te out += te(coltop) + be(colbot) + c - out += '\n' + out = out.rstrip() + '\n' out += terminal256.EscapeSequence(fg=formatter._closest_color(0,0,0), bg=formatter._closest_color(0,0,0)).reset_string() return out -- cgit