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
The str method is returning a string but as a byte (with a b' preceding the string svg)
I have seen there is a pull request related to this (#6), but for me this is what fixed it:
def __str__(self): return etree.tostring(self._doc, encoding='utf8', method='xml').decode('utf8')
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The str method is returning a string but as a byte (with a b' preceding the string svg)
I have seen there is a pull request related to this (#6), but for me this is what fixed it:
The text was updated successfully, but these errors were encountered: