colors: Fix test.

This commit is contained in:
Dylan Araps 2018-01-01 13:34:36 +11:00
parent 3fc3b5e033
commit 634051fe84

View File

@ -42,7 +42,7 @@ def gen_colors(img, color_count):
if len(raw_colors) > 16: if len(raw_colors) > 16:
break break
elif index == 20: elif index == 19:
print("colors: Imagemagick couldn't generate a suitable scheme", print("colors: Imagemagick couldn't generate a suitable scheme",
"for the image. Exiting...") "for the image. Exiting...")
sys.exit(1) sys.exit(1)