Steffo99 / greed

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

Error with pull n88 "Categories implementation" #128

Closed tripoflgb closed 3 years ago

tripoflgb commented 3 years ago

Hello! Thanks.

Please help, if use this update - i have error: Traceback (most recent call last): File "/srv/tlbot/worker.py", line 215, in run self.__admin_menu() File "/srv/tlbot/worker.py", line 1053, in __admin_menu self.__products_menu() File "/srv/tlbot/worker.py", line 1120, in __products_menu self.__edit_product_menu(product=product) File "/srv/tlbot/worker.py", line 1223, in __edit_product_menu if not price == None: File "/srv/tlbot/worker.py", line 114, in __eq__ return self.value == Price(other).value AttributeError: 'Price' object has no attribute 'value'

Can you please tell me, does this error appear when I use this update of files with categories?

Steffo99 commented 3 years ago

I don't know, that pull request hasn't been merged because I requested changes from its author which haven't been done yet.

You should probably ask them in #88!