Don't use 2.7+ check_output

pull/486/head
Philipp Hagemeister 2012-10-19 23:28:37 +02:00
rodzic 9248cb0549
commit 073522bc6c
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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