Bug fix.
Fixed bug where newline / carriage return characters at the start of output strings would cause a weird text overflow when printed.
This commit is contained in:
parent
873a1078d6
commit
58f1b69ce0
|
@ -122,7 +122,7 @@ class CommandStreamReader(object):
|
|||
continue
|
||||
|
||||
if line != '':
|
||||
info('{bright}[{yellow}' + self.target.address + '{crst}/{bgreen}' + self.tag + '{crst}]{rst} ' + line.replace('{', '{{').replace('}', '}}'), verbosity=3)
|
||||
info('{bright}[{yellow}' + self.target.address + '{crst}/{bgreen}' + self.tag + '{crst}]{rst} ' + line.strip().replace('{', '{{').replace('}', '}}'), verbosity=3)
|
||||
|
||||
# Check lines for pattern matches.
|
||||
for p in self.patterns:
|
||||
|
|
Loading…
Reference in New Issue