mirror of https://github.com/zulip/zulip.git
generate_emoji_names: Fix use of stale aliases variable.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
125d7eab6c
commit
4fe93d2523
|
@ -196,7 +196,7 @@ def main() -> None:
|
|||
# These are known names where we don't have an ascii-only version and there are ascii aliases
|
||||
# that a user can still enter instead to get the same emoji.
|
||||
if name in ["ココ", "サ", "指", "空"]:
|
||||
assert any(alias.isascii() for alias in aliases)
|
||||
assert any(alias.isascii() for alias in emoji_names["aliases"])
|
||||
continue
|
||||
if not name.isascii():
|
||||
ascii_alias = convert_non_ascii_chars(name)
|
||||
|
|
Loading…
Reference in New Issue