mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 07:23:22 +00:00
python: Elide unnecessary list wrappers.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
eff0a73925
commit
2665a3ce2b
@@ -143,7 +143,7 @@ def bot_commands(no_help_command: bool = False) -> str:
|
||||
]
|
||||
if not no_help_command:
|
||||
commands.append("help")
|
||||
return ", ".join(["`" + command + "`" for command in commands]) + "."
|
||||
return ", ".join("`" + command + "`" for command in commands) + "."
|
||||
|
||||
|
||||
def select_welcome_bot_response(human_response_lower: str) -> str:
|
||||
|
||||
Reference in New Issue
Block a user