Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: int() in worker.py, line 1062 #95

Closed
tripoflgb opened this issue Mar 10, 2021 · 3 comments
Closed

TypeError: int() in worker.py, line 1062 #95

tripoflgb opened this issue Mar 10, 2021 · 3 comments
Assignees
Labels
bug Something that doesn't work as expected.

Comments

@tripoflgb
Copy link

Hello!
Dear, please help my, i get an error when flagging an item as out of stock. How to fix the error?

File "/root/greed/worker.py", line 1062, in __edit_product_menu
product.price = int(price) if not isinstance(price, CancelSignal) else product.price
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'

@Steffo99 Steffo99 added the bug Something that doesn't work as expected. label Mar 10, 2021
@Steffo99
Copy link
Owner

I think it's a legitimate bug, I'll have a look at it in the next 15 mins.

@Steffo99 Steffo99 self-assigned this Mar 10, 2021
Steffo99 added a commit that referenced this issue Mar 10, 2021
@Steffo99
Copy link
Owner

Steffo99 commented Mar 10, 2021

Try to update the bot with git pull, and then reopen the issue if the bug still occours.

@tripoflgb
Copy link
Author

Try to update the bot with git pull, and then reopen the issue if the bug still occours.

Thank you!! Great work. Sei grande ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something that doesn't work as expected.
Projects
None yet
Development

No branches or pull requests

2 participants