mirror of
https://github.com/ankitects/anki.git
synced 2025-09-22 16:02:23 -04:00
tweak pyaudio error message
This commit is contained in:
parent
d96b46887e
commit
4be3de322c
1 changed files with 2 additions and 1 deletions
|
@ -266,7 +266,8 @@ class PyAudioThreadedRecorder(threading.Thread):
|
|||
try:
|
||||
p = pyaudio.PyAudio()
|
||||
except NameError:
|
||||
raise Exception("Recording not supported on OSX10.3.")
|
||||
raise Exception(
|
||||
"Pyaudio not installed (recording not supported on OSX10.3)")
|
||||
stream = p.open(format=PYAU_FORMAT,
|
||||
channels=PYAU_CHANNELS,
|
||||
rate=PYAU_RATE,
|
||||
|
|
Loading…
Reference in a new issue