Skip to content

Commit 86c0114

Browse files
committed
Fix an error in the Natlink engine back-end
Related to issue dictation-toolbox#370 and rule contexts.
1 parent 74a7df5 commit 86c0114

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dragonfly/engines/backend_natlink/engine.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ def activate_rule(self, rule_name):
450450
grammar_object = self.grammar_object
451451
try:
452452
grammar_object.activate(rule_name, self.hwnd)
453-
except self.natlink.NatError:
453+
except self.engine.natlink.NatError:
454454
grammar_object.deactivate(rule_name)
455455
grammar_object.activate(rule_name, self.hwnd)
456456

0 commit comments

Comments
 (0)