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

Fix the print string to diplay, before it was printing an unformatted… #224

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rokkian
Copy link

@rokkian rokkian commented Mar 23, 2024

Fix the print string to diplay, before it was printing an unformatted
I discovered this bug in the .show() method of the Tree class: whenever I try to print to stdout the Tree structure I get a messy string of Bytes, instead of a proper string with the supposed schema:
image
I removed the ".encode("utf-8")" from the self._reader to display and the print to stdout works as advertised:
image

@rokkian rokkian requested a review from liamlundy as a code owner March 23, 2024 19:06
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

Successfully merging this pull request may close these issues.

None yet

1 participant