Skip to content

Commit

Permalink
Simplify editor.py reading environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
tburrows13 authored Feb 22, 2020
1 parent 024a08b commit 8c9fdae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moviepy/editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
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()
Expand Down

0 comments on commit 8c9fdae

Please sign in to comment.