We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Reproduced as follows:
import stripe stripe.api_key = "<your api key>" print(repr(stripe.Charge.all()))
Resulting in:
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python3.3/site-packages/stripe/resource.py", line 138, in __repr__ ' '.join(ident_parts), hex(id(self)), str(self)) TypeError: sequence item 1: expected str instance, bytes found
The text was updated successfully, but these errors were encountered:
I can add that this bug has some negative side effects. Take stripe/resource.py line 275:
stripe/resource.py
util.logger.debug("Trying to save already saved object %r", self)
This will throw a confusing TypeError instead of logging.
TypeError
Sorry, something went wrong.
42bc6f3
fixes stripe#54
9035fa0
metcalf
No branches or pull requests
Reproduced as follows:
Resulting in:
The text was updated successfully, but these errors were encountered: