Skip to content

Video editing with Python

corrected bug : missing . in audio tempfile name

Zulko1e35294299d5
diff --git a/moviepy/version.py b/moviepy/version.py
index 9163927d..742901cd 100644
--- a/moviepy/version.py
+++ b/moviepy/version.py
@@ -1 +1 @@
-__version__ = "0.2.1.7.16"
+__version__ = "0.2.1.7.17"
diff --git a/moviepy/video/VideoClip.py b/moviepy/video/VideoClip.py
index 171eb94e..2e4fd032 100644
--- a/moviepy/video/VideoClip.py
+++ b/moviepy/video/VideoClip.py
@@ -166,7 +166,7 @@ class VideoClip(Clip):
audiofps
frame rate to use when writing the sound.
- temp_wav
+ temp_audiofile
the name of the temporary audiofile to be generated and
incorporated in the the movie, if any.
@@ -216,7 +216,7 @@ class VideoClip(Clip):
'%d unkown !'%filename)
temp_audiofile = (name+Clip._TEMP_FILES_PREFIX +
- "to_videofile_SOUND%s"%audio_ext)
+ "to_videofile_SOUND.%s"%audio_ext)
make_audio = ( (not os.path.exists(temp_audiofile))
or rewrite_audio)