summaryrefslogtreecommitdiff
path: root/python/workflow.py
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2021-12-08 21:43:12 -0500
committerGlenn Smith <glenn@vector35.com>2022-01-13 15:56:38 -0500
commit486a019282443ae5429b3c42ae132fe11f4f017f (patch)
treec04bfd26989e1918f0bb92c9175be758c6966890 /python/workflow.py
parent0444f19299b05c0e9feada89c9ef487e59b6cfcc (diff)
Fix a bunch of core function calls with bad args
Diffstat (limited to 'python/workflow.py')
-rw-r--r--python/workflow.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/workflow.py b/python/workflow.py
index 4ec890bb..b9c38e35 100644
--- a/python/workflow.py
+++ b/python/workflow.py
@@ -309,7 +309,7 @@ class Workflow(metaclass=_WorkflowMetaclass):
out_list.append(result[i].decode('utf-8'))
return out_list
finally:
- core.BNFreeStringList(result, length)
+ core.BNFreeStringList(result, length.value)
def subactivities(self, activity:ActivityType = "", immediate:bool = True) -> List[str]:
"""
@@ -329,7 +329,7 @@ class Workflow(metaclass=_WorkflowMetaclass):
out_list.append(result[i].decode('utf-8'))
return out_list
finally:
- core.BNFreeStringList(result, length)
+ core.BNFreeStringList(result, length.value)
def assign_subactivities(self, activity:Activity, activities:List[str]) -> bool:
"""