From 53c455ff1f60a2450edac54788823c39a6f7df10 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 24 Apr 2012 15:52:10 +0900 Subject: [PATCH] fix sound file return when not encoding --- anki/sound.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anki/sound.py b/anki/sound.py index 3cc2ec53f..55aca36b2 100644 --- a/anki/sound.py +++ b/anki/sound.py @@ -292,7 +292,7 @@ class PyAudioRecorder(_Recorder): os.rename(processingDst, tgt) return tgt else: - return recFiles[1] + return processingSrc # Audio interface ##########################################################################