colors: Fix color bug

This commit is contained in:
Dylan Araps 2017-06-20 15:06:55 +10:00
parent 13444e46bb
commit 05704c96d8

2
wal
View File

@ -153,7 +153,7 @@ def gen_colors(img):
# If imagemagick finds less than 16 colors, use a larger source number # If imagemagick finds less than 16 colors, use a larger source number
# of colors. # of colors.
index = 0 index = 0
while len(raw_colors) - 1 <= COLOR_COUNT: while len(raw_colors) - 1 < COLOR_COUNT:
index += 1 index += 1
raw_colors = imagemagick(COLOR_COUNT + index, img) raw_colors = imagemagick(COLOR_COUNT + index, img)