youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 073522bc6c5cfdb379bb48976d76e0e5505ae2d1
parent 9248cb0549674ca78e1a51ebc98eb5c5a29876e8
Author: Philipp Hagemeister <phihag@phihag.de>
Date:   Fri, 19 Oct 2012 23:28:37 +0200

Don't use 2.7+ check_output

Diffstat:
Myoutube_dl/PostProcessor.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/PostProcessor.py b/youtube_dl/PostProcessor.py @@ -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