misc: change

This commit is contained in:
Dylan Araps 2018-01-02 14:57:32 +11:00
parent 30ea15b0e2
commit 88d391af3d

View File

@ -16,8 +16,7 @@ def imagemagick(color_count, img, magick_command):
flags = ["-resize", "25%", "-colors", str(color_count),
"-unique-colors", "txt:-"]
return subprocess.check_output([*magick_command,
img, *flags]).splitlines()
return subprocess.check_output([*magick_command, img, *flags]).splitlines()
def has_im():