diff options
| author | Dylan Araps <dylan.araps@gmail.com> | 2017-06-20 15:06:55 +1000 |
|---|---|---|
| committer | Dylan Araps <dylan.araps@gmail.com> | 2017-06-20 15:06:55 +1000 |
| commit | 05704c96d8408bba32da92e715760a7539c32989 (patch) | |
| tree | 032f7680c7b0b78cf1bb57e9dbb7aeeb3229086a | |
| parent | 13444e46bb31583c2834d4d011a104361d22e29e (diff) | |
colors: Fix color bug
| -rwxr-xr-x | wal | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -153,7 +153,7 @@ def gen_colors(img): # If imagemagick finds less than 16 colors, use a larger source number # of colors. index = 0 - while len(raw_colors) - 1 <= COLOR_COUNT: + while len(raw_colors) - 1 < COLOR_COUNT: index += 1 raw_colors = imagemagick(COLOR_COUNT + index, img) |
