fix missing tools prop
This commit is contained in:
parent
3f5a4599fc
commit
c57ba5c7e6
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user