From c57ba5c7e67c684358c0187d60085cd6d5e9b7fd Mon Sep 17 00:00:00 2001 From: jan Date: Fri, 14 Apr 2023 22:30:42 -0700 Subject: [PATCH] fix missing tools prop --- masque/builder/pather.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/masque/builder/pather.py b/masque/builder/pather.py index 3783de9..53b306e 100644 --- a/masque/builder/pather.py +++ b/masque/builder/pather.py @@ -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,