Commit 49febd96 authored by kliment's avatar kliment

Merge pull request #12 from k-eex/master

trim extraneous newlines from "loud" output
parents c495dcda 6fe022c2
...@@ -83,7 +83,7 @@ class printcore(): ...@@ -83,7 +83,7 @@ class printcore():
self.recvcb(line) self.recvcb(line)
if self.loud: if self.loud:
print "RECV: ",line print "RECV: ",line.rstrip()
if(line.startswith('start') or line.startswith('ok') or "T:" in line): if(line.startswith('start') or line.startswith('ok') or "T:" in line):
self.clear=True self.clear=True
if (not self.online or line.startswith('start')) and self.onlinecb is not None: if (not self.online or line.startswith('start')) and self.onlinecb is not None:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment