Open GoogleCodeExporter opened 9 years ago
This fixes the error:
Index: src/voiceid/sr.py
===================================================================
--- src/voiceid/sr.py (revision 276)
+++ src/voiceid/sr.py (working copy)
@@ -1484,6 +1484,9 @@
try:
char = raw_input("\n 1) Listen\n 2) Set " +
" name\n Press enter to skip\n> ")
+ except ValueError, e:
+ sys.stdin = open('/dev/tty')
+ continue
except EOFError:
print ''
continue
Original comment by chrisspen@gmail.com
on 15 Feb 2014 at 3:26
Original issue reported on code.google.com by
chrisspen@gmail.com
on 14 Feb 2014 at 7:09