From 275eef858fe24c8e81b57971da07eff5cb4375db Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 24 Mar 2023 14:30:32 +0200 Subject: [PATCH] remove leftover print statement --- files/helpers/sanitize.py | 1 - 1 file changed, 1 deletion(-) diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index 43295a2e5..e273c2079 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -273,7 +273,6 @@ def sanitize_raw_body(sanitized:Optional[str], is_post:bool) -> str: if not sanitized: return "" sanitized = html_comment_regex.sub('', sanitized) - print(sanitized, flush=True) sanitized = sanitized.replace('\u200e','').replace('\u200b','').replace("\ufeff", "").replace("\r\n", "\n").replace("𒐫", "").replace('\u202e','') sanitized = sanitized.strip() return sanitized[:POST_BODY_LENGTH_LIMIT(g.v) if is_post else COMMENT_BODY_LENGTH_LIMIT]