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