Skip to content

Commit

Permalink
Merge pull request #3 from hwf1324/patch-1
Browse files Browse the repository at this point in the history
Fix bug where function receives extra parameters
  • Loading branch information
cary-rowen authored Dec 7, 2024
2 parents b563993 + b481179 commit 9ab7bd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/globalPlugins/ime_expressive.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ def speakCharacter(self,character,isc=True,isp=True):
speech.speakMessage(character)

pmsTime=0
def event_UIA_notification(self, obj, nextHandler):
def event_UIA_notification(self, obj, nextHandler, *args, **kwargs):
if obj.role==role.BUTTON and obj.UIAElement.cachedAutomationID=='NewNoteButton':
pass
else:
Expand Down

0 comments on commit 9ab7bd5

Please sign in to comment.