KoljaB / RealtimeSTT

A robust, efficient, low-latency speech-to-text library with advanced voice activity detection, wake word activation and instant transcription.
MIT License
2.09k stars 190 forks source link

fix debug usage error #70

Closed pia-ai closed 5 months ago

pia-ai commented 5 months ago

This PR addresses an issue occurring in debug mode when setting the threading start method using set_start_method fails. Previously, if an exception was raised during this process, the error handling code would incorrectly format the exception message, leading to a secondary exception of type TypeError with the message "not all arguments converted during string formatting."

KoljaB commented 5 months ago

Oops. Thank you!