fix missing tools prop

This commit is contained in:
jan 2023-04-14 22:30:42 -07:00
parent df4c867e5c
commit 97ccd8c303

View File

@ -124,6 +124,13 @@ class Pather(Builder):
if name is not None:
library[name] = self.pattern
if tools is None:
self.tools = {}
elif isinstance(tools, Tool):
self.tools = {None: tools}
else:
self.tools = dict(tools)
@classmethod
def mk(
cls,