浏览代码

fix debug usage error

ericjiang 10 月之前
父节点
当前提交
7f22ff488f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      RealtimeSTT/audio_recorder.py

+ 1 - 1
RealtimeSTT/audio_recorder.py

@@ -401,7 +401,7 @@ class AudioToTextRecorder:
             logging.debug("Explicitly setting the multiprocessing start method to 'spawn'")
             mp.set_start_method('spawn')
         except RuntimeError as e:
-            logging.debug("Start method has already been set. Details:", e)
+            logging.debug(f"Start method has already been set. Details: {e}")
 
         logging.info("Starting RealTimeSTT")