From a2edc01bd1224ef7b6e11ff9b952e675514e1ece Mon Sep 17 00:00:00 2001 From: Trygve Aaberge Date: Thu, 7 Dec 2023 21:15:05 +0100 Subject: Format all files with ruff --- slack/slack_buffer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'slack/slack_buffer.py') diff --git a/slack/slack_buffer.py b/slack/slack_buffer.py index 2739bf1..63aa07c 100644 --- a/slack/slack_buffer.py +++ b/slack/slack_buffer.py @@ -421,7 +421,8 @@ class SlackBuffer(ABC): escaped_text = ( htmlescape(text) # Replace some WeeChat formatting chars with Slack formatting chars - .replace("\x02", "*").replace("\x1D", "_") + .replace("\x02", "*") + .replace("\x1D", "_") ) users = await gather(*self.workspace.users.values(), return_exceptions=True) -- cgit