• R/O
  • HTTP
  • SSH
  • HTTPS

nvdajpmiscdep: Commit

miscdep for NVDA Japanese


Commit MetaInfo

Revision80bb19483f542cbf84bd42f53b21c97d4c25ad95 (tree)
Time2015-01-16 00:01:10
AuthorTakuya Nishimoto <nishimotz@gmai...>
CommiterTakuya Nishimoto

Log Message

work around JTalk WindowsError ti34684

Change Summary

Incremental Difference

--- a/source/synthDrivers/jtalk/jtalkCore.py
+++ b/source/synthDrivers/jtalk/jtalkCore.py
@@ -346,6 +346,9 @@ def libjt_synthesis(feature,
346346 byte_count = ns * sizeof(c_short)
347347 buf = string_at(speech_ptr, byte_count)
348348 if feed_func_:
349- feed_func_(buf)
349+ try:
350+ feed_func_(buf)
351+ except WindowsError:
352+ pass
350353 if logwrite_ : logwrite_('libjt_synthesis done.')
351354 return buf
Show on old repository browser