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

create_buy_order is not working #387

Open
AfanasevaO opened this issue Apr 9, 2024 · 1 comment
Open

create_buy_order is not working #387

AfanasevaO opened this issue Apr 9, 2024 · 1 comment

Comments

@AfanasevaO
Copy link

File "C:\Users\mipos\PycharmProjects\pythonProject.venv\Lib\site-packages\steampy\utils.py", line 23, in func_wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mipos\PycharmProjects\pythonProject.venv\Lib\site-packages\steampy\market.py", line 156, in create_buy_order
if (success := response.get('success')) != 1:
^^^^^^^^^^^^
AttributeError: 'list' object has no attribute 'get'

I pass everything to the function correctly, the answer does not come at all

@Sashabus
Copy link

Sashabus commented Jun 5, 2024

You should change it inside the module, use different sessionid for data, here is what i found out:
#392

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants