Steffo99 / greed

Customizable, multilanguage Telegram shop bot with Payments support
GNU Affero General Public License v3.0
527 stars 261 forks source link

Help! Bug - Add funds "Credit Card" #135

Closed tripoflgb closed 3 years ago

tripoflgb commented 3 years ago

Hello, please help resolve this bug, example: view add funds 7$ (Min 10 - Max 100)

Exception in <Worker 1091534037>: 'Credit Card' Traceback (most recent call last): File "/srv/tlbot/worker.py", line 244, in run self.admin_menu() File "/srv/tlbot/worker.py", line 1764, in __admin_menu self.user_menu() File "/srv/tlbot/worker.py", line 680, in __user_menu self.add_credit_menu() File "/srv/tlbot/worker.py", line 1582, in add_credit_menu self.add_credit_cc() File "/srv/tlbot/worker.py", line 1621, in add_credit_cc min_amount=self.Price(self.cfg["Credit Card"]["min_amount"]))) File "/srv/tlbot/nuconfig.py", line 15, in getitem return self.data.getitem(item) KeyError: 'Credit Card'

Steffo99 commented 3 years ago

Fixed.