mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 09:14:59 +00:00
style: Format error message in Voice class for better readability
This commit is contained in:
parent
e88ec36a81
commit
130579ea3c
1 changed files with 3 additions and 1 deletions
|
@ -87,7 +87,9 @@ class Voice:
|
|||
except (TypeError, ValueError):
|
||||
sample_rate = 16000 # fallback to 16kHz if unable to query device
|
||||
except self.sd.PortAudioError:
|
||||
raise SoundDeviceError("No audio input device detected. Please check your audio settings and try again.")
|
||||
raise SoundDeviceError(
|
||||
"No audio input device detected. Please check your audio settings and try again."
|
||||
)
|
||||
|
||||
self.start_time = time.time()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue