From 7b9f9f4012cf5c09d2993bfaa065c1bd507f7fa4 Mon Sep 17 00:00:00 2001 From: jan Date: Sun, 13 Oct 2024 12:53:10 -0700 Subject: [PATCH] fixup! add the toolctx() context manager to simplify temporary retool() calls --- masque/builder/pather.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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