summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-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: