Video editing with Python
Test that the temporary audio file exists (#958)
Yoel Benítez Fonsecad467ad938742
diff --git a/moviepy/video/VideoClip.py b/moviepy/video/VideoClip.pyindex 6f535bf2..667c985f 100644--- a/moviepy/video/VideoClip.py+++ b/moviepy/video/VideoClip.py@@ -240,7 +240,7 @@ class VideoClip(Clip):loggerEither "bar" for progress bar or None or any Proglog logger.-+verbose (deprecated, kept for compatibility)Formerly used for toggling messages on/off. Use logger=None now.@@ -326,7 +326,8 @@ class VideoClip(Clip):logger=logger)if remove_temp and make_audio:- os.remove(audiofile)+ if os.path.exists(audiofile):+ os.remove(audiofile)logger(message="Moviepy - video ready %s" % filename)@requires_duration