mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 21:43:21 +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
@@ -157,7 +157,7 @@ def generate_emoji_code_to_emoji_names_maps() -> None:
|
||||
|
||||
|
||||
def get_sorting_info(category: str, sort_order: int) -> str:
|
||||
return " ".join([category, str(sort_order)])
|
||||
return f"{category} {sort_order}"
|
||||
|
||||
|
||||
def get_images_html(emoji_code: str) -> str:
|
||||
|
||||
Reference in New Issue
Block a user