Browse Source

Don't use 2.7+ check_output

rtmp_test
Philipp Hagemeister 12 years ago
parent
commit
073522bc6c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/PostProcessor.py

+ 1
- 1
youtube_dl/PostProcessor.py View File

@ -73,7 +73,7 @@ class FFmpegExtractAudioPP(PostProcessor):
def detect_executables():
def executable(exe):
try:
subprocess.check_output([exe, '-version'])
subprocess.Popen([exe, '-version'], stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()
except OSError:
return False
return exe


Loading…
Cancel
Save