summaryrefslogtreecommitdiff
path: root/python/function.py
diff options
context:
space:
mode:
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 62a5dc0c..e43c11e2 100644
--- a/python/function.py
+++ b/python/function.py
@@ -3021,7 +3021,7 @@ class Function:
handle = core.BNGetWorkflowForFunction(self.handle)
if handle is None:
return None
- return workflow.Workflow(handle=handle, function_handle=self.handle)
+ return workflow.Workflow(handle=handle, object_handle=self.handle)
@property
def provenance(self):