generate_emoji_names: Fix use of stale aliases variable.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2023-08-09 21:17:53 -07:00 committed by Tim Abbott
parent 125d7eab6c
commit 4fe93d2523
1 changed files with 1 additions and 1 deletions

View File

@ -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)