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

Text.assemble() can't take strings without styles #57

Closed
mrozekma opened this issue May 6, 2020 · 1 comment
Closed

Text.assemble() can't take strings without styles #57

mrozekma opened this issue May 6, 2020 · 1 comment
Labels
accepted Task was accepted bug Something isn't working

Comments

@mrozekma
Copy link

mrozekma commented May 6, 2020

The documentation for Text.assemble() says:

The positional arguments should be either strings, or a tuple of string + style.

but it looks like bare strings don't work; the code passes *part to append() without checking if it's actually a tuple.

@willmcgugan willmcgugan added accepted Task was accepted bug Something isn't working labels May 7, 2020
@willmcgugan
Copy link
Collaborator

Fixed in v1.0.1

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted Task was accepted bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants