diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2023-03-07 00:22:22 +0100 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2023-03-07 01:13:17 +0100 |
commit | 39ff696e6ad2c3c6381b2556786394adb06bf935 (patch) | |
tree | f86ab6ed20be200f692fc606c400da60de246ef9 | |
parent | e56d6f84db08dc27390b75cd5fb455b503022afe (diff) | |
download | wee-slack-39ff696e6ad2c3c6381b2556786394adb06bf935.tar.gz |
Fix some text formatting
Remove a space before a colon and add a comma after a sentence starting
with if.
-rw-r--r-- | wee_slack.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wee_slack.py b/wee_slack.py index 91e0b15..349bc3f 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -4781,7 +4781,7 @@ def unwrap_attachments(message, text_before): def unwrap_huddle(message, message_json): """ - If huddle is linked to message append huddle information and link + If huddle is linked to message, append huddle information and link to connect. """ huddle_texts = [] @@ -4796,7 +4796,7 @@ def unwrap_huddle(message, message_json): room_name = message_json.get("room").get("name") if room_name != "": - huddle_texts.append("Huddle name : {}".format(room_name)) + huddle_texts.append("Huddle name: {}".format(room_name)) for channel in message_json.get("room").get("channels"): huddle_texts.append( |