fix support libav 2

This commit is contained in:
Adrien Beudin 2016-05-03 09:47:57 +02:00
parent 400619de2f
commit 9c5b8ae8cd

View File

@ -163,7 +163,7 @@ class Image(object):
def main():
for i in ['gm', 'ffmpeg']:
for i in ['gm', options["binary"]]:
if os.system("which " + i +" > /dev/null") != 0:
sys.stderr.write("ERROR: I can't locate the "+ i +" binary, "
"please install the '" + i + "' package.\n")