summaryrefslogtreecommitdiff
path: root/python/function.py
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2024-12-27 17:25:42 -0500
committerGlenn Smith <glenn@vector35.com>2024-12-27 17:25:42 -0500
commit7323628022239278956504476997716316149930 (patch)
tree2d60a0651c293e622dc3a3460ac0273095474b75 /python/function.py
parent5922737739514174576270927152852743525306 (diff)
Fix trying to construct a FunctionViewType from a FunctionViewType
Diffstat (limited to 'python/function.py')
-rw-r--r--python/function.py2
1 files changed, 1 insertions, 1 deletions
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: