Re: Fix for Audio Themes and latest alphas


Brian's Mail list account
 

Yes and that was where the syntax error came up.

So does the large block of code go after the imports, or after the conditional imports as well, and how can i get the search and replace not to creat a syntax error?
Brian

bglists@blueyonder.co.uk
Sent via blueyonder.
Please address personal E-mail to:-
briang1@blueyonder.co.uk, putting 'Brian Gaff'
in the display name field.
Newsgroup monitored: alt.comp.blind-users

----- Original Message -----
From: "Alberto Buffolino" <a.buffolino@gmail.com>
To: <nvda-addons@nvda-addons.groups.io>
Sent: Sunday, February 21, 2021 5:58 PM
Subject: Re: [nvda-addons] Fix for Audio Themes and latest alphas


Brian's Mail list account via groups.io, il 21/02/2021 18.15, ha > File "C:\nvda
extra\userConfig\addons\audiothemes\globalPlugins\audiothemes\unspoken\__init__.py", line 87, in UnspokenPlayer
self, reason=NVDAObjects.controlTypes.REASON_QUERY, *args, **kwargs
AttributeError: module 'controlTypes' has no attribute 'REASON_QUERY'
Alberto:
in addition to put the code provided (in first mail) after imports, I had said to replace:
reason=NVDAObjects.controlTypes.REASON_QUERY
with:
reason=REASON_QUERY
in the same unspoken/__init__.py file.
Alberto



Join nvda-addons@nvda-addons.groups.io to automatically receive all group messages.