aboutsummaryrefslogtreecommitdiffstats
path: root/slack/slack_buffer.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2023-12-07 21:15:05 +0100
committerTrygve Aaberge <trygveaa@gmail.com>2024-02-18 11:32:54 +0100
commita2edc01bd1224ef7b6e11ff9b952e675514e1ece (patch)
tree55f15de58861071dacb029b5295cc347b799de12 /slack/slack_buffer.py
parent0cb37109508d3828570c15f8ec68d65b11ff1ba1 (diff)
downloadwee-slack-a2edc01bd1224ef7b6e11ff9b952e675514e1ece.tar.gz
Format all files with ruff
Diffstat (limited to 'slack/slack_buffer.py')
-rw-r--r--slack/slack_buffer.py3
1 files changed, 2 insertions, 1 deletions
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)