Skip to content

Video editing with Python

Simplify editor.py reading environment variable

Tom Burrows8c9fdae0a39c
diff --git a/moviepy/editor.py b/moviepy/editor.py
index 3c2609d9..c5dff72b 100644
--- a/moviepy/editor.py
+++ b/moviepy/editor.py
@@ -24,7 +24,7 @@ import sys
import imageio
# Checks to see if the user has set a place for their own version of ffmpeg
-if os.getenv('FFMPEG_BINARY', 'ffmpeg-imageio') == 'ffmpeg-imageio':
+if os.getenv('FFMPEG_BINARY') is None:
if sys.version_info < (3, 4):
#uses an old version of imageio with ffmpeg.download.
imageio.plugins.ffmpeg.download()