fix add_tree operator

This commit is contained in:
Jan Petykiewicz 2023-01-31 15:33:42 -08:00 committed by jan
parent 853c20e8df
commit 039320d180

View File

@ -1031,8 +1031,8 @@ class Tree(MutableLibrary):
def __delitem__(self, key: str) -> None: def __delitem__(self, key: str) -> None:
del self.library[key] del self.library[key]
def __lshift__(self, other: 'Tree') -> None: def __lshift__(self, other: 'Tree') -> str:
self.add_tree(other) return self.add_tree(other)
def _rename_patterns(lib: Library, name: str) -> str: def _rename_patterns(lib: Library, name: str) -> str: