Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make auto.output call both speak and braille #20

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

EphDoering
Copy link

There were a couple issues preventing auto.output from working as documented. First, it only called speak, so braille was never output. Second when I switched to calling .output I discovered that base.output always raised an error even when the calls to speak and braille were successful. This is because python returns None by default which evaluated to False in the if statements. By explicitly checking for False I believe I retained the original intent of the function and now auto.output works for all of the output classes that I tested and will likely work for them all.

I believe this would close #19, at least for their sample code.

fix auto.output to call output
@EphDoering EphDoering changed the title make auot.output call both speak and braille make auto.output call both speak and braille Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Braille does not display when announcing a message with NVDA.
1 participant