fix missing tools prop

This commit is contained in:
jan 2023-04-14 22:30:42 -07:00
parent 3f5a4599fc
commit c57ba5c7e6

View File

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