From 48b3e7f6a3bb15a78e020224e9b4dc2414a196bf Mon Sep 17 00:00:00 2001 From: shamhi Date: Fri, 28 Jun 2024 19:26:19 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=A0=20Fix=20log=20bugs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bot/utils/scripts.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bot/utils/scripts.py b/bot/utils/scripts.py index 39e447d..a8d2317 100644 --- a/bot/utils/scripts.py +++ b/bot/utils/scripts.py @@ -101,6 +101,7 @@ async def stop_tasks(client: Client = None) -> None: def escape_html(text: str) -> str: + text = str(text) return text.replace('<', '\\<').replace('>', '\\>')