diff --git a/tools/python/jwutils/stree/StringTree.py b/tools/python/jwutils/stree/StringTree.py index fe9f015..72a9da4 100644 --- a/tools/python/jwutils/stree/StringTree.py +++ b/tools/python/jwutils/stree/StringTree.py @@ -83,6 +83,9 @@ class StringTree: # export self.children[nibble].children[content] = StringTree('', content=content) return self.children[nibble] + def __str__(self): + return 'st:"{}"'.format(self.content) + def __getitem__(self, path): r = self.get(path) if r is None: