From 2271681c575a544b3148666ae35b48794ec6a6ea Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Fri, 2 Jun 2023 21:17:00 -0700 Subject: [PATCH] Only remove existing ports --- masque/builder/renderpather.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/masque/builder/renderpather.py b/masque/builder/renderpather.py index 852bf2e..b97e0e6 100644 --- a/masque/builder/renderpather.py +++ b/masque/builder/renderpather.py @@ -430,7 +430,7 @@ class RenderPather(PortList): batch.append(step) # Opcodes which break the batch go below this line - if not appendable_op: + if not appendable_op and portspec in bb.ports: del bb.ports[portspec] #If the last batch didn't end yet