From f00cac9ae97cbf96eb3dc27cc8f473f682427ddb Mon Sep 17 00:00:00 2001 From: Redume Date: Sun, 24 Nov 2024 13:17:09 +0300 Subject: [PATCH] fix len args --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 8b928d5..45bab00 100644 --- a/main.py +++ b/main.py @@ -27,7 +27,7 @@ async def currency(query: types.InlineQuery) -> None: conv = Converter() - if len(args) <= 2: + if len(args) < 2: return await reply(result_id, [("2 or 3 arguments are required.", '@shirino_bot USD RUB \n'