Merge pull request #62 from 0x010C/patch-2
quoting the source and target path into gm command
This commit is contained in:
commit
d14710a706
@ -143,7 +143,7 @@ class Image(object):
|
|||||||
"progressive": "-interlace Line" if options.get("progressive", None) is True else ""
|
"progressive": "-interlace Line" if options.get("progressive", None) is True else ""
|
||||||
}
|
}
|
||||||
|
|
||||||
command = "gm convert {source} {auto-orient} {strip} {progressive} {quality} {resize} {target}".format(**gm_switches)
|
command = "gm convert '{source}' {auto-orient} {strip} {progressive} {quality} {resize} '{target}'".format(**gm_switches)
|
||||||
warning("Generation", source)
|
warning("Generation", source)
|
||||||
|
|
||||||
print(command)
|
print(command)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user