mirror of
https://github.com/Steffo99/greed.git
synced 2024-11-21 21:44:19 +00:00
Fix #135
This commit is contained in:
parent
bcdff61c3a
commit
48c3eb9c48
1 changed files with 2 additions and 2 deletions
|
@ -804,12 +804,12 @@ class Worker(threading.Thread):
|
||||||
if value > self.Price(self.cfg["Payments"]["CreditCard"]["max_amount"]):
|
if value > self.Price(self.cfg["Payments"]["CreditCard"]["max_amount"]):
|
||||||
self.bot.send_message(self.chat.id,
|
self.bot.send_message(self.chat.id,
|
||||||
self.loc.get("error_payment_amount_over_max",
|
self.loc.get("error_payment_amount_over_max",
|
||||||
max_amount=self.Price(self.cfg["Credit Card"]["max_amount"])))
|
max_amount=self.Price(self.cfg["CreditCard"]["max_amount"])))
|
||||||
continue
|
continue
|
||||||
elif value < self.Price(self.cfg["Payments"]["CreditCard"]["min_amount"]):
|
elif value < self.Price(self.cfg["Payments"]["CreditCard"]["min_amount"]):
|
||||||
self.bot.send_message(self.chat.id,
|
self.bot.send_message(self.chat.id,
|
||||||
self.loc.get("error_payment_amount_under_min",
|
self.loc.get("error_payment_amount_under_min",
|
||||||
min_amount=self.Price(self.cfg["Credit Card"]["min_amount"])))
|
min_amount=self.Price(self.cfg["CreditCard"]["min_amount"])))
|
||||||
continue
|
continue
|
||||||
break
|
break
|
||||||
# If the user cancelled the action...
|
# If the user cancelled the action...
|
||||||
|
|
Loading…
Reference in a new issue