From 6fe022c280f42eb7b0a91408330b9cddc087b1f2 Mon Sep 17 00:00:00 2001 From: Keegi Date: Wed, 8 Jun 2011 22:11:15 +0300 Subject: [PATCH] remove redundant line endings from 'loud' output in printcore --- printcore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/printcore.py b/printcore.py index 8c087d2..65d0f7c 100644 --- a/printcore.py +++ b/printcore.py @@ -83,7 +83,7 @@ class printcore(): self.recvcb(line) if self.loud: - print "RECV: ",line + print "RECV: ",line.rstrip() if(line.startswith('start') or line.startswith('ok') or "T:" in line): self.clear=True if (not self.online or line.startswith('start')) and self.onlinecb is not None: