From 034411e47eda245678249cd23394403d478b7311 Mon Sep 17 00:00:00 2001 From: Michael Poluektov Date: Wed, 31 Jul 2024 17:24:00 +0100 Subject: [PATCH] fix: type not manifold --- backend/apps/webui/main.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/backend/apps/webui/main.py b/backend/apps/webui/main.py index adfb82f2b..2f4da0384 100644 --- a/backend/apps/webui/main.py +++ b/backend/apps/webui/main.py @@ -147,9 +147,7 @@ async def get_pipe_models(): function_module = get_function_module(pipe.id) # Check if function is a manifold - if hasattr(function_module, "type"): - if not function_module.type == "manifold": - continue + if hasattr(function_module, "type") and function_module.type == "manifold": manifold_pipes = [] # Check if pipes is a function or a list