Skip to content

Commit

Permalink
IWF-357: Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lwolczynski committed Jan 3, 2025
1 parent 20e0e22 commit ef9d285
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iwf/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def _register_workflow_type(self, wf: ObjectWorkflow):
def _register_internal_channels(self, wf: ObjectWorkflow):
wf_type = get_workflow_type(wf)

if self._internal_channel_type_store[wf_type] is None:
if wf_type not in self._internal_channel_type_store:
self._internal_channel_type_store[wf_type] = TypeStore(
Type.INTERNAL_CHANNEL
)
Expand Down

0 comments on commit ef9d285

Please sign in to comment.