accessible_output2
accessible_output2 copied to clipboard
make auto.output call both speak and braille
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.