From fcc3f81562d7e92bc359efabc8492109cffa8fe5 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 14 Apr 2013 15:10:17 +0100 Subject: Format multiline commands as one line for status output --- desktop-cronish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop-cronish b/desktop-cronish index 58c2df7..d6d84e2 100755 --- a/desktop-cronish +++ b/desktop-cronish @@ -53,7 +53,7 @@ class DesktopCronish(cliapp.Application): def status(self, msg): logging.info(msg) self.ts['timestamp'] = time.strftime('%H:%M:%S') - self.ts['msg'] = msg + self.ts['msg'] = ' '.join(msg.split('\n')) self.ts.flush() def process_input(self, filename): -- cgit v1.2.1