diff options
| author | Glenn Smith <glenn@vector35.com> | 2024-12-27 17:25:42 -0500 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2024-12-27 17:25:42 -0500 |
| commit | 7323628022239278956504476997716316149930 (patch) | |
| tree | 2d60a0651c293e622dc3a3460ac0273095474b75 | |
| parent | 5922737739514174576270927152852743525306 (diff) | |
Fix trying to construct a FunctionViewType from a FunctionViewType
| -rw-r--r-- | python/function.py | 2 |
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: |
