From 7b696d948d3ac45af908259eafadef2d15589dee Mon Sep 17 00:00:00 2001 From: krypt-n Date: Tue, 28 Apr 2015 10:51:23 +0200 Subject: [PATCH] Fixes newline issue in shell module --- i3pystatus/shell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i3pystatus/shell.py b/i3pystatus/shell.py index 5cea607..67f4637 100644 --- a/i3pystatus/shell.py +++ b/i3pystatus/shell.py @@ -28,7 +28,7 @@ class Shell(IntervalModule): self.logger.error(stderr if stderr else "Unknown error") if out: - out.replace("\n", " ").strip() + out = out.replace("\n", " ").strip() elif stderr: out = stderr