From 30618c7456283ed1d1d7197a1b1c60208aabfe10 Mon Sep 17 00:00:00 2001 From: Andrew Date: Sat, 14 May 2022 20:53:18 -0500 Subject: [PATCH] Term spacing between player name and message --- app/classes/web/ajax_handler.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/classes/web/ajax_handler.py b/app/classes/web/ajax_handler.py index 5c479e50..ab5d974d 100644 --- a/app/classes/web/ajax_handler.py +++ b/app/classes/web/ajax_handler.py @@ -70,9 +70,7 @@ class AjaxHandler(BaseHandler): for line in data: try: - line = re.sub( - "(\033\\[(0;)?[0-9]*[A-z]?(;[0-9])?m?)|(> )", "", line - ) + line = re.sub("(\033\\[(0;)?[0-9]*[A-z]?(;[0-9])?m?)", "", line) line = re.sub("[A-z]{2}\b\b", "", line) line = self.helper.log_colors(html.escape(line)) self.write(f"{line}
")