remove redundant line endings from 'loud' output in printcore
parent
c495dcdad4
commit
6fe022c280
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue