From f619cce19843ec7a1efdf4603d5855b89324a4af Mon Sep 17 00:00:00 2001 From: Djimbo Date: Sat, 21 Jan 2023 20:07:00 +0300 Subject: [PATCH] Update const_functions.py --- tgbot/utils/const_functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tgbot/utils/const_functions.py b/tgbot/utils/const_functions.py index 327ba67..fcdff8e 100644 --- a/tgbot/utils/const_functions.py +++ b/tgbot/utils/const_functions.py @@ -270,8 +270,8 @@ def format_rate(amount: Union[float, int], around: int = 2) -> str: save_amount.pop(0) elif (len(save_amount) - 2) % 3 == 0: out_amount.extend([save_amount[0], save_amount[1]]) - save_amount.pop(0) save_amount.pop(1) + save_amount.pop(0) else: print("Error 4388326")