From 4987637a76449323f6ce71c8a90a8791c0664f9c Mon Sep 17 00:00:00 2001 From: gsd Date: Sun, 23 Apr 2023 20:15:49 +0300 Subject: [PATCH] ffff --- paybot.facti13.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paybot.facti13.py b/paybot.facti13.py index c03de19..f3b50f0 100644 --- a/paybot.facti13.py +++ b/paybot.facti13.py @@ -99,7 +99,7 @@ class Client: def price_checker(self, amount): seconds2give = 0 for rub, sec in self.prices.items(): - if amount >= rub: + if amount >= rub and seconds2give <= sec: seconds2give = sec return seconds2give