avoid mention of pip
This commit is contained in:
parent
2f57c646e0
commit
961833a137
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user