fix support libav 2
This commit is contained in:
parent
400619de2f
commit
9c5b8ae8cd
@ -163,7 +163,7 @@ class Image(object):
|
|||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
for i in ['gm', 'ffmpeg']:
|
for i in ['gm', options["binary"]]:
|
||||||
if os.system("which " + i +" > /dev/null") != 0:
|
if os.system("which " + i +" > /dev/null") != 0:
|
||||||
sys.stderr.write("ERROR: I can't locate the "+ i +" binary, "
|
sys.stderr.write("ERROR: I can't locate the "+ i +" binary, "
|
||||||
"please install the '" + i + "' package.\n")
|
"please install the '" + i + "' package.\n")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user