fix missing tools prop
This commit is contained in:
parent
df4c867e5c
commit
97ccd8c303
@ -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