diff --git a/tools/python/jwutils/stree/StringTree.py b/tools/python/jwutils/stree/StringTree.py index 6addf13..a9d2062 100644 --- a/tools/python/jwutils/stree/StringTree.py +++ b/tools/python/jwutils/stree/StringTree.py @@ -185,7 +185,7 @@ class StringTree: # export return None return child.value() if len(self.children) == 0: - raise Exception('tried to get value from leave "{}"'.format(self.content)) + raise Exception('tried to get value from leaf "{}"'.format(self.content)) slog(DEBUG, f'Returning value from children {self.children}') return self.children[next(reversed(self.children))].content # type: ignore