mirror of
https://github.com/ankitects/anki.git
synced 2025-11-08 21:57:12 -05:00
fix sound file return when not encoding
This commit is contained in:
parent
5b97c3f20f
commit
53c455ff1f
1 changed files with 1 additions and 1 deletions
|
|
@ -292,7 +292,7 @@ class PyAudioRecorder(_Recorder):
|
|||
os.rename(processingDst, tgt)
|
||||
return tgt
|
||||
else:
|
||||
return recFiles[1]
|
||||
return processingSrc
|
||||
|
||||
# Audio interface
|
||||
##########################################################################
|
||||
|
|
|
|||
Loading…
Reference in a new issue