From 5eb4771259d3d3879196f8e48884f8efef69e70e Mon Sep 17 00:00:00 2001 From: shoucandanghehe Date: Sun, 13 Oct 2024 00:45:36 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20TETR.IO=20list=20=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=B0=86=20country=20=E8=BD=AC=E5=A4=A7=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nonebot_plugin_tetris_stats/games/tetrio/list.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nonebot_plugin_tetris_stats/games/tetrio/list.py b/nonebot_plugin_tetris_stats/games/tetrio/list.py index 3617eda..ccc9c91 100644 --- a/nonebot_plugin_tetris_stats/games/tetrio/list.py +++ b/nonebot_plugin_tetris_stats/games/tetrio/list.py @@ -36,6 +36,7 @@ async def _( limit: int | None = None, country: str | None = None, ): + country = country.upper() if country is not None else None async with trigger( session_persist_id=await get_session_persist_id(event_session), game_platform=GAME_TYPE,