Skip to content

Commit 9b58376

Browse files
committed
fix: pipeline bus init
bus was being cast to FakeBus ensure super calls
1 parent 5553634 commit 9b58376

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ovos_plugin_manager/templates/pipeline.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,8 @@ class PipelineStageConfidenceMatcher(PipelineStageMatcher, ConfidenceMatcherPipe
179179

180180
def __init__(self, bus: Optional[Union[MessageBusClient, FakeBus]] = None,
181181
config: Optional[Dict] = None):
182-
super().__init__(bus=bus, config=config)
182+
PipelineStageMatcher.__init__(self, bus, config)
183+
ConfidenceMatcherPipeline.__init__(self, bus, config)
183184

184185
def match(self, utterances: List[str], lang: str, message: Message) -> Optional[PipelineMatch]:
185186
"""

0 commit comments

Comments
 (0)