fix missing tools prop
This commit is contained in:
parent
df4c867e5c
commit
97ccd8c303
1 changed files with 7 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue