remove breaks in tdf output
This commit is contained in:
parent
f368228f13
commit
223deb65d8
|
|
@ -800,9 +800,9 @@ class ASCII(callbacks.Plugin):
|
|||
return
|
||||
paste = ""
|
||||
self.stopped[msg.args[0]] = False
|
||||
output = output.decode().replace('\r\r\n', '\r\n').replace('\x03\x03', '\x0F')
|
||||
output = output.decode().replace('\r\r\n', '\r\n').replace('\x03\x03', '')
|
||||
for line in output.splitlines():
|
||||
line = re.sub('\x0F\s+\x03$', '', line)
|
||||
line = re.sub('\x03$', '', line)
|
||||
if self.registryValue('pasteEnable', msg.args[0]):
|
||||
paste += line + "\n"
|
||||
if not line.strip() and not self.stopped[msg.args[0]]:
|
||||
|
|
|
|||
Loading…
Reference in New Issue