avoid mention of pip

This commit is contained in:
Damien Elmes 2020-05-05 16:30:22 +10:00
parent 2f57c646e0
commit 961833a137

View File

@ -525,9 +525,7 @@ Recorder = PyAudioRecorder
def getAudio(parent: QWidget, encode: bool = True) -> Optional[str]: def getAudio(parent: QWidget, encode: bool = True) -> Optional[str]:
"Record and return filename" "Record and return filename"
if not pyaudio: if not pyaudio:
showWarning( showWarning("Please install pyaudio.")
"The Python pip `pyaudio` dependency is not installed and audio recording will not work!"
)
return None return None
# record first # record first
r = Recorder() r = Recorder()