From ad530a777c46052cdec90f881a1a7b32e4c5ba13 Mon Sep 17 00:00:00 2001 From: Thomas Reifenberger Date: Tue, 13 Feb 2024 18:08:22 +0100 Subject: [PATCH] Fix output of treelib - At least on Python 3, instead of a nicely formatted tree the former command showed a byte string (b'...'). - See also https://github.com/caesar0301/treelib/issues/221 --- ssm_tree/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssm_tree/main.py b/ssm_tree/main.py index 2783679..83170d1 100644 --- a/ssm_tree/main.py +++ b/ssm_tree/main.py @@ -77,4 +77,4 @@ def build_tree(path, recursive, show_encrypted=False): if not tree: print("Nothing to show.") else: - return tree.show() \ No newline at end of file + print(tree.show(stdout=False))