mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-06 04:35:00 +00:00
style: Apply linter fixes
This commit is contained in:
parent
a7242ca846
commit
3d2de00f49
2 changed files with 7 additions and 7 deletions
|
@ -1119,9 +1119,7 @@ class Commands:
|
|||
self.io.tool_error("To use /voice you must provide an OpenAI API key.")
|
||||
return
|
||||
try:
|
||||
self.voice = voice.Voice(
|
||||
audio_format="wav", device_name=self.voice_input_device
|
||||
)
|
||||
self.voice = voice.Voice(audio_format="wav", device_name=self.voice_input_device)
|
||||
except voice.SoundDeviceError:
|
||||
self.io.tool_error(
|
||||
"Unable to import `sounddevice` and/or `soundfile`, is portaudio installed?"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue