Skip to content

Commit

Permalink
Fix output of treelib
Browse files Browse the repository at this point in the history
- At least on Python 3, instead of a nicely formatted tree the former
  command showed a byte string (b'...').
- See also caesar0301/treelib#221
  • Loading branch information
tom-mi committed Feb 13, 2024
1 parent bd092d8 commit ad530a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssm_tree/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,4 @@ def build_tree(path, recursive, show_encrypted=False):
if not tree:
print("Nothing to show.")
else:
return tree.show()
print(tree.show(stdout=False))

0 comments on commit ad530a7

Please sign in to comment.