Skip to content

Commit 345d732

Browse files
committed
Fix unitialized workflow machine property.
1 parent 2e31fd2 commit 345d732

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python/workflow.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@ def __init__(self, name: str = "", handle: core.BNWorkflowHandle = None, query_r
268268
assert _handle is not None
269269
self.handle = _handle
270270
self._name = core.BNGetWorkflowName(self.handle)
271+
self._machine = None
271272
if function_handle is not None:
272273
self._machine = WorkflowMachine(function_handle)
273274

0 commit comments

Comments
 (0)