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