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]:
"Record and return filename"
if not pyaudio:
showWarning(
"The Python pip `pyaudio` dependency is not installed and audio recording will not work!"
)
showWarning("Please install pyaudio.")
return None
# record first
r = Recorder()