humblebundle-python
humblebundle-python copied to clipboard
TypeError: HumbleCaptchaException does not take keyword arguments
When trying to run https://github.com/ajs124/hib-dl-all (which uses this library), I get the following error message:
Traceback (most recent call last):
File "./hib-dl-all.py", line 31, in <module>
client.login(args.username, args.password)
File "/usr/local/lib/python3.4/dist-packages/humblebundle-0.1.1-py3.4.egg/humblebundle/decorators.py", line 20, in wrap
File "/usr/local/lib/python3.4/dist-packages/humblebundle-0.1.1-py3.4.egg/humblebundle/client.py", line 115, in login
File "/usr/local/lib/python3.4/dist-packages/humblebundle-0.1.1-py3.4.egg/humblebundle/handlers.py", line 76, in login_handler
File "/usr/local/lib/python3.4/dist-packages/humblebundle-0.1.1-py3.4.egg/humblebundle/exceptions.py", line 41, in __init__
File "/usr/local/lib/python3.4/dist-packages/humblebundle-0.1.1-py3.4.egg/humblebundle/exceptions.py", line 30, in __init__
TypeError: HumbleCaptchaException does not take keyword arguments
Now I do suspect that this happens because the Humblebundle API asks for a Captcha and the Script doesn't provide one. But the exact error message leads me to believe there might be a bug in the code that causes it to throw the TypeError instead of just a HumbleCaptchaException.