Skip to content

Commit

Permalink
Fix an error in the Natlink engine back-end
Browse files Browse the repository at this point in the history
Related to issue #370 and rule contexts.
  • Loading branch information
drmfinlay committed Oct 8, 2023
1 parent 74a7df5 commit 86c0114
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dragonfly/engines/backend_natlink/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ def activate_rule(self, rule_name):
grammar_object = self.grammar_object
try:
grammar_object.activate(rule_name, self.hwnd)
except self.natlink.NatError:
except self.engine.natlink.NatError:
grammar_object.deactivate(rule_name)
grammar_object.activate(rule_name, self.hwnd)

Expand Down

0 comments on commit 86c0114

Please sign in to comment.