mirror of
https://github.com/ankitects/anki.git
synced 2025-11-09 06:07:11 -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)
|
os.rename(processingDst, tgt)
|
||||||
return tgt
|
return tgt
|
||||||
else:
|
else:
|
||||||
return recFiles[1]
|
return processingSrc
|
||||||
|
|
||||||
# Audio interface
|
# Audio interface
|
||||||
##########################################################################
|
##########################################################################
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue