fix error message
This commit is contained in:
parent
0d632b1d88
commit
bf8adf4a65
@ -163,8 +163,8 @@ class Image(object):
|
||||
def main():
|
||||
for i in ['gm', 'ffmpeg']:
|
||||
if os.system("which " + i +" > /dev/null") != 0:
|
||||
sys.stderr.write("ERROR: I can't locate the "+ i +" binary, I won't be able to resize "
|
||||
"images, please install the '" + i + "' package.\n")
|
||||
sys.stderr.write("ERROR: I can't locate the "+ i +" binary,
|
||||
please install the '" + i + "' package.\n")
|
||||
sys.exit(1)
|
||||
|
||||
error(os.path.exists(os.path.join(os.getcwd(), "settings.yaml")), "I can't find a "
|
||||
|
Loading…
x
Reference in New Issue
Block a user