From 834f071332fb1d3d9caf06dc2bf11b5a30a5ccb8 Mon Sep 17 00:00:00 2001 From: Romain J Date: Thu, 12 Nov 2020 00:07:51 +0100 Subject: [PATCH] fix(PYL-W1401): Anomalous backslash detected --- tuxbot/core/utils/functions/extra.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tuxbot/core/utils/functions/extra.py b/tuxbot/core/utils/functions/extra.py index cd0d26a..aacca0d 100644 --- a/tuxbot/core/utils/functions/extra.py +++ b/tuxbot/core/utils/functions/extra.py @@ -9,8 +9,8 @@ from rich.console import Console console = Console() -TOKEN_REPLACEMENT = "\*" * random.randint(3, 15) -PASSWORD_REPLACEMENT = "\*" * random.randint(3, 15) +TOKEN_REPLACEMENT = "\\*" * random.randint(3, 15) +PASSWORD_REPLACEMENT = "\\*" * random.randint(3, 15) class ContextPlus(commands.Context):