From 7323628022239278956504476997716316149930 Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Fri, 27 Dec 2024 17:25:42 -0500 Subject: Fix trying to construct a FunctionViewType from a FunctionViewType --- python/function.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/function.py') diff --git a/python/function.py b/python/function.py index 6e7eef73..e962d91f 100644 --- a/python/function.py +++ b/python/function.py @@ -193,7 +193,7 @@ class FunctionViewType: if isinstance(view_type, FunctionViewType): self.view_type = view_type.view_type self.name = view_type.name - if isinstance(view_type, FunctionGraphType): + elif isinstance(view_type, FunctionGraphType): self.view_type = view_type self.name = None else: -- cgit v1.3.1