From 223deb65d8734d8829a2b7a4fd807052e67f2ec0 Mon Sep 17 00:00:00 2001 From: Gordon Shumway <39967334+oddluck@users.noreply.github.com> Date: Sat, 4 May 2019 00:36:23 -0400 Subject: [PATCH] remove breaks in tdf output --- ASCII/plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ASCII/plugin.py b/ASCII/plugin.py index ea47d53..e7eb20c 100644 --- a/ASCII/plugin.py +++ b/ASCII/plugin.py @@ -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]]: