diff --git a/masque/builder/pather.py b/masque/builder/pather.py index cf5aaed..87f08a3 100644 --- a/masque/builder/pather.py +++ b/masque/builder/pather.py @@ -309,7 +309,7 @@ class Pather(Builder): for kk, tt in saved_tools.items(): if tt is None: # delete if present - self.tools.pop(tt, None) + self.tools.pop(kk, None) else: self.tools[kk] = tt